#include
using namespace std;
int main()
{
int a, b, s;
while (cin >> a >> b >> s)
{
if ((a + b )> s)
cout << “NO” << endl;
else
{
if (s ==( a + b))
cout << “YES” << endl;
if (s >( a + b))
{
if ((s - a - b) % 2 == 0)
cout << “YES” << endl;
else
cout << “NO” << endl;
}
}
}
}
acm第一期第8题
最新推荐文章于 2021-05-20 14:56:36 发布