题解:P10567 「Daily OI Round 4」Square
题意
把
思路
若
若
综上所述,只要
AC 代码
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll n;
int main(){
cin >> n;
if(n % 2 == 0) cout << "Yes";
else cout << "No";
return 0;
}
把
若
若
综上所述,只要
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll n;
int main(){
cin >> n;
if(n % 2 == 0) cout << "Yes";
else cout << "No";
return 0;
}