题解 | #判断奇偶#
判断奇偶
https://ac.nowcoder.com/acm/problem/22008
#include<cstdio>
int main() {
int n;
scanf("%d",&n);
if(n%2) printf("odd");
else printf("even");
}
题解 文章被收录于专栏
https://ayx.moefox.tech/
判断奇偶
https://ac.nowcoder.com/acm/problem/22008
#include<cstdio>
int main() {
int n;
scanf("%d",&n);
if(n%2) printf("odd");
else printf("even");
}
https://ayx.moefox.tech/
相关推荐
查看5道真题和解析