ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#215427 | #1. A+B Problem | shaopuqin | Compile Error | / | / | C++ | 99b | 2024-12-26 21:02:35 | 2024-12-26 21:02:37 |
answer
#include <bits/stdc++.h>using namespace std;int m,n;int main(){cin>>n>>m;cout<<n+m<<endl;return 0;}
Details
answer.code:1:25: warning: extra tokens at end of #include directive [enabled by default] #include <bits/stdc++.h>using namespace std;int m,n;int main(){cin>>n>>m;cout<<n+m<<endl;return 0;} ^ /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status