#include <bits/stdc++.h>
using namespace std;
int main() {
int n; cin >> n; if (n % 2 == 0) { int m = n / 2; if (m % 2 == 0) { cout << "YES"; return 0; } else { cout << "NO"; return 0; } } else { cout << "NO"; return 0; }
}
#include
int main() { int n; cin >> n;
// 判断条件:糖果数量必须大于1且为偶数 if (n > 1 && n % 2 == 0) { cout << "YES" << endl; } else { cout << "NO" << endl; } return 0;
为什么是九十分啊****
我怎么做都是90分,你们能做100吗?
#include using namespace std;
int main() { int n; cin >> n; if (n >= 4 && n % 2 == 0) { cout << "YES" << endl; } else { cout << "NO" << endl; } return 0; }
我也是
???
使用您的 蒙青创OJ 通用账户