算法A+B問題

A+B問題 這次的輸入可能包含多組數據。 在這個問題中,使用C++語言的正確程序如下 #include <iostream> using namespace std; int main() { int a,b; while(cin >> a >> b) { cout << a+b << endl; } return 0; }
相關文章
相關標籤/搜索