A + B Problem Too——HDU-2101

# 題目 題解 while循環實現輸入多組數據,if、else語句判斷輸出yes還是no。 代碼實現 //HDU-2101 #include<iostream> using namespace std; int main() { int a, b; while (cin >> a >> b) { if ( (a + b) % 86 == 0) cout << "yes" << endl;
相關文章
相關標籤/搜索