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;
相关文章
相关标签/搜索