1 条题解
-
0
C :
#include <stdio.h> int main(void) { int x1, x2; scanf("%d%d", &x1, &x2); if(x1 > x2) printf("YES\n"); else printf("NO\n"); return 0; }
C++ :
#include<cstdio> using namespace std; int main() { double x1,x2; scanf("%lf%lf",&x1,&x2); if(x1>x2) { printf("YES\n"); } else { printf("NO\n"); } return 0; }
Pascal :
program y1; var a,b:integer; begin readln(a,b); if a>b then writeln('YES') else writeln('NO'); end.
- 1
信息
- ID
- 2918
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- (无)
- 标签
- 递交数
- 0
- 已通过
- 0
- 上传者