运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
645165 Wang0211 1002 - 闰年 编译错误 0 0 MS 0 KB C 216 9天前
暂时无法获取本题测试点详情。

Main.c: In function 'main':
Main.c:4:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
4 | scanf("d",&x);
| ^~~~~
Main.c:4:16: error: 'x' undeclared (first use in this function)
4 | scanf("d",&x);
| ^
Main.c:4:16: note: each undeclared identifier is reported only once for each function it appears in
Main.c:7:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf\U0000ff08'
7 | scanf("%d",&a);
| ^~~~~~~
Main.c:7:5: error: 'scanf\U0000ff08' undeclared (first use in this function); did you mean 'scanf'?
7 | scanf("%d",&a);
| ^~~~~~~
| scanf
Main.c:7:12: error: expected ';' before string constant
7 | scanf("%d",&a);
| ^~~~
| ;
Main.c:8:8: error: 'a' undeclared (first use in this function)
8 | if(a%4==0&&a%100!=0)
| ^
Main.c:11:19: error: expected ';' before '\U0000ff1b'
11 | printf("no
");}
| ^~
| ;