题解 | #单组_spj判断YES与NO#
单组_spj判断YES与NO
https://www.nowcoder.com/practice/4dffedb2a0734a0e9ce759f2eaeeda65
#include <stdio.h>
int main() {
long long int n;
scanf("%lld\n",&n);
if (n % 2 == 0) {
printf("NO");
}
else {
printf("YES");
}
}
查看5道真题和解析
