AC

⛴李恒旭(⓿_⓿)⚔♆§  •  1年前


include <bits/stdc++.h>

using namespace std;

int main() {

string a;
getline(cin, a);
int i;
i = a.size() - 1;
if (a[i] % 2 == 0) {
	cout << "YES";
} else if (a[i] % 2 != 0) {
	cout << "NO";
}
return 0;

}


评论:

请先登录,才能进行评论