Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
152676 张皓凯 A+B 输入输出练习I C++ Compile Error 0 MS 0 KB 181 2026-05-01 09:36:35

Tests(0/0):


Code:

#inclube<bits\stdc++.h> using namespacestd; int main() { int a,b; cin>>a>>b; cout<<a+b<<endl; int c,d; cin>>c>>d; cout<<c+d<<endl; return 0; }


Run Info:

Main.cc:1:2: error: invalid preprocessing directive #inclube
 #inclube
  ^
Main.cc:2:7: error: expected nested-name-specifier before 'namespacestd'
 using namespacestd;
       ^
Main.cc: In function 'int main()':
Main.cc:6:5: error: 'cin' was not declared in this scope
     cin>>a>>b;
     ^
Main.cc:7:5: error: 'cout' was not declared in this scope
     cout<