Login
Register
Problem list
Online status
1
:
2023-08-11 14:49:17
asdf
LJNLJNLJN
:
2022-05-24 22:23:08
四十四次日落
:
2021-03-02 22:48:17
#include
using namespace std; int main() { int n;//表示后面有n行 cin >> n; struct num{ int num1; int num2; }; num *add=new num[n]; for (int i = 0;i < n;i++) { cin >> add[i].num1 >> add[i].num2; } for (int i = 0;i < n;i++) { cout << (add[i].num1 + add[i].num2) << endl; } }
204595
:
2020-12-16 19:00:58
133
Post Your Comment