Compile Error.
/tmp/voj-1467/nNfjlVzrzqfH.cpp:1:20: error: #include expects "FILENAME" or
1 | #include//不写了
| ^
/tmp/voj-1467/nNfjlVzrzqfH.cpp: In function ‘int main()’:
/tmp/voj-1467/nNfjlVzrzqfH.cpp:6:5: error: ‘cin’ was not declared in this scope
6 | cin >> a >> b;
| ^~~
/tmp/voj-1467/nNfjlVzrzqfH.cpp:1:1: note: ‘std::cin’ is defined in header ‘’; did you forget to ‘#include ’?
+++ |+#include
1 | #include//不写了
/tmp/voj-1467/nNfjlVzrzqfH.cpp:7:5: error: ‘cout’ was not declared in this scope
7 | cout << a + b;
| ^~~~
/tmp/voj-1467/nNfjlVzrzqfH.cpp:7:5: note: ‘std::cout’ is defined in header ‘’; did you forget to ‘#include ’?
Compile Error, Time = 0 ms, Memory = 0 KB, Score = 0.
#include//不写了
using namespace std;
int main()
{
int a, b;
cin >> a >> b;
cout << a + b;
return 0;
}
length 115 B