Compile Error
/in/foo.c:1:1: warning: data definition has no type or storage class 1 | year=int(input()) | ^~~~ /in/foo.c:1:1: warning: type defaults to 'int' in declaration of 'year' [-Wimplicit-int] /in/foo.c:1:6: error: expected expression before 'int' 1 | year=int(input()) | ^~~ /in/foo.c:2:13: error: invalid suffix "and" on integer constant 2 | if((year%4==0and(year%100)!=0)or(year%400==0)): | ^~~~
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2025-03-30 09:26:51
- 评测时间
- 2025-03-30 09:26:51
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes