UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#215427#1. A+B ProblemshaopuqinCompile Error//C++99b2024-12-26 21:02:352024-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