Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
129925 袁昊贝 A+B 输入输出练习I C++ Compile Error 0 MS 0 KB 173 2025-09-06 17:56:19

Tests(0/0):


Code:

#incude <iostream> using namespace std; int main() { int a,b,i; for (i=1;i<=b;i++) { cin>>a>>b; cout<<a+b<<endl; } return 0; }


Run Info:

Main.cc:1:2: error: invalid preprocessing directive #incude
 #incude 
  ^
Main.cc: In function 'int main()':
Main.cc:8:9: error: 'cin' was not declared in this scope
         cin>>a>>b;
         ^
Main.cc:9:9: error: 'cout' was not declared in this scope
         cout<