运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
641380 TTaaa 1049 - 抢红包 编译错误 0 0 MS 0 KB C 584 17天前
暂时无法获取本题测试点详情。

Main.c: In function 'main':
Main.c:28:17: error: 'n' undeclared (first use in this function)
28 | scanf("%d",&n);
| ^
Main.c:28:17: note: each undeclared identifier is reported only once for each function it appears in
Main.c:30:17: error: 'mon' undeclared (first use in this function)
30 | scanf("%d",&mon);
| ^~~
Main.c:39:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
39 | printf("%d",fmin(sum1,sum2));
| ~^ ~~~~~~~~~~~~~~~
| | |
| | double
| int
| %f
Main.c:27:9: warning: unused variable 'n\U0000ff0cmon' [-Wunused-variable]
27 | int n,mon,sum1=5,sum2=0;
| ^~~~~~