Compile Error
/in/foo.c: In function 'main': /in/foo.c:5:8: error: expected ')' before '>=' token int n(n>=1,n<=50); ^~ /in/foo.c:9:1: error: expected '(' before '{' token { ^ /in/foo.c:10:4: warning: right-hand operand of comma expression has no effect [-Wunused-value] i=1,i<=n,i++; ^ /in/foo.c:17:8: warning: too many arguments for format [-Wformat-extra-args] printf("lf",sum); ^~~~
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2024-12-24 10:16:29
- 评测时间
- 2024-12-24 10:16:29
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes