Sign in $ create-account
~/problems ~/discussion ~/contests ~/submission
← ~/submission
run #1470 Compile Error P1000 · A+B Problem
Time 0 ms Memory 0 K Lang C++
// Judge Result
Compile Error. /tmp/voj-1470/SIVHNTrrSByB.cpp:1:22: warning: extra tokens at end of #include directive 1 | #include int main() { int a = 0, b = 0; std::cin >> a >> b; std::cout << a + b << std::endl; return 0; } | ^~~ /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/Scrt1.o: in function `_start': (.text+0x24): undefined reference to `main' collect2: error: ld returned 1 exit status Compile Error, Time = 0 ms, Memory = 0 KB, Score = 0.
// Source
 #include <iostream> int main() { int a = 0, b = 0; std::cin >> a >> b; std::cout << a + b << std::endl; return 0; }
length 116 B
Compile Error
Judge Result
Run ID#1470
ProblemP1000
Submitted byiwiiwi
LanguageC++
Used Time0 ms
Used Memory0 K
Code length116 B
Submit TimeFebruary 8, 2020, 5:00:17 PM
Execute TimeFebruary 8, 2020, 5:00:07 PM
// Judger
C++
View Problem