Submission #1401451


Source Code Expand

#include <iostream>
#include <algorithm>

int main(){
 int n,m;
 std::cin>>n>>m;
 std::cout<<std::max(n,m)<<endl;
}

Submission Info

Submission Time
Task A - 正直者
User plcherrim
Language C++14 (GCC 5.4.1)
Score 0
Code Size 122 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:7:28: error: ‘endl’ was not declared in this scope
  std::cout<<std::max(n,m)<<endl;
                            ^
./Main.cpp:7:28: note: suggested alternative:
In file included from /usr/include/c++/5/iostream:39:0,
                 from ./Main.cpp:1:
/usr/include/c++/5/ostream:590:5: note:   ‘std::endl’
     endl(basic_ostream<_CharT, _Traits>& __os)
     ^