Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 62483 Accepted Submission(s): 41718
1 #include <iostream> 2 using namespace std; 3 int main() { 4 int a, b; 5 //cin >> test; 6 7 while(cin >> a >> b) 8 { 9 10 cout << a + b << endl << endl; 11 } 12 13 return 0; 14 }
hdu 1095 A+B for Input-Output Practice (VII)
原文:http://www.cnblogs.com/qinduanyinghua/p/5518210.html