cin>>n;
for(int i=0; i
int a,b;
cin>>a>>b;
cout<
}
image.png
python单行输入:
import sys
for line in sys.stdin:
a = line.split()
print(int(a[0]) + int(a[1]))
c++单行输入:
int a,b
while(cin>>a>>b){
cout<
cin>>n;
for(int i=0; i
int a,b;
cin>>a>>b;
cout<
}
image.png
python单行输入:
import sys
for line in sys.stdin:
a = line.split()
print(int(a[0]) + int(a[1]))
c++单行输入:
int a,b
while(cin>>a>>b){
cout<