https://paste.ubuntu.com/p/TfckDbwPyn/
08
解题思路
在输出之前加个判断就好了
#include
using namespace std;
int main()
{
int a, b;
while (cin >> a >> b)
{
int sum;
cout << ((a + b) % 86 == 0 ? “yes” : “no”) << endl;
}
}
https://paste.ubuntu.com/p/TfckDbwPyn/
08
解题思路
在输出之前加个判断就好了
#include
using namespace std;
int main()
{
int a, b;
while (cin >> a >> b)
{
int sum;
cout << ((a + b) % 86 == 0 ? “yes” : “no”) << endl;
}
}