2022年9月17日

1.1.1-A+B for Input-Output Practice (II)

摘要: #include<iostream> using namespace std; int main(void){ int m,n,s; cin>>s; for(int i = 0; i < s; i ++) { cin>>m>>n; cout << m + n <<endl; } return 0;} 阅读全文

posted @ 2022-09-17 09:23 王立凯 阅读(16) 评论(0) 推荐(0) 编辑

1.1.2-A+B for Input-Output Practice (I)

摘要: #include<iostream>using namespace std; int main(void){ int m,n; while(cin>>m>>n){ cout<<m+n<<endl; } return 0;} 阅读全文

posted @ 2022-09-17 09:22 王立凯 阅读(7) 评论(0) 推荐(0) 编辑

导航