3 条题解
-
0
C :
#include<stdio.h> int main(){ int x; scanf("%d",&x); if(x%2==0){ printf("%s","y e s"); }else{ printf("%s","n o"); } return 0; }
C++ :
#include<iostream> using namespace std; int main(){ int x; cin>>x; if(x%2==0){ cout<<"y e s"<<endl; }else{ cout<<"n o"<<endl; } }
Python :
r = int(input()) if r % 2 == 0 : print('y e s') else: print('n o')
- 1
信息
- ID
- 69
- 时间
- 1000ms
- 内存
- 16MiB
- 难度
- 3
- 标签
- 递交数
- 232
- 已通过
- 117
- 上传者