Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
143875 徐启航 A+B 输入输出练习II C++ Compile Error 0 MS 0 KB 206 2026-01-17 20:34:26

Tests(0/0):


Code:

int main(){ int a,b,N,m=0; cin>>N; for(int i=1;i<=N;i++){ cin>>a>>b; for(int j=1;j<=1;j++){ m=a+b; cout<<m; } } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:3:5: error: 'cin' was not declared in this scope
     cin>>N;
     ^
Main.cc:8:13: error: 'cout' was not declared in this scope
             cout<