Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78727 柯轶炜 A+B 输入输出练习II Python3 Compile Error 0 MS 0 KB 220 2024-06-27 12:25:38

Tests(0/0):


Code:

# include<stdio.h> #include<iostream> using namespace std; int main(){ int a,b; int sum=0; int n; cin>>n; for(int i=1;i<=n;i++){ cin>>a>>b; sum=a+b; cout<<sum<<endl; } return 0; }


Run Info:

  File "Main.py", line 3
    using namespace std;
                  ^
SyntaxError: invalid syntax