Submission #1627137
Source Code Expand
Koharu:2 koharu$ vi A.cpp #include<iostream> using namespace std; int max(long long int a, long long int b) { if(a>=b) { return a; } else { return b;} } int main() { long long int x,y; cin>>x>>y; cout << max(x,y) << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - 正直者 |
User | wander_a_street |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 320 Byte |
Status | CE |
Compile Error
./Main.cpp:1:1: error: ‘Koharu’ does not name a type Koharu:2 koharu$ vi A.cpp ^ In file included from /usr/include/c++/5/iosfwd:40:0, from /usr/include/c++/5/ios:38, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from ./Main.cpp:10: /usr/include/c++/5/bits/postypes.h:98:11: error: ‘ptrdiff_t’ does not name a type typedef ptrdiff_t streamsize; // Signed integral type ^ In file included from /usr/include/c++/5/exception:162:0, from /usr/include/c++/5/ios:39, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from ./Main.cpp:10: /usr/include/c++/5/bits/exception_ptr.h:95:30: error: field ‘nullptr_t’ has incomplete type ‘std::__exception_ptr::exception_ptr’ exception_ptr(nullptr_t) noexcept ^ /usr/include/c++/5/bits/exception_ptr.h:75:11: note: definition of ‘class std::__excep...