Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
142582 徐毅然 A+B 输入输出练习II C++ Accepted 3 MS 272 KB 234 2026-01-11 14:30:07

Tests(1/1):


Code:

#include<bits/stdc++.h> 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; }