Compile Error
/in/foo.c: In function 'main': /in/foo.c:7:1: error: expected ',' or ';' before 'scanf' scanf("%d",&n); ^~~~~ /in/foo.c:8:15: warning: statement with no effect [-Wunused-value] for(i=1;i++;i<=n){ ~^~~ /in/foo.c:10:1: error: expected ';' before 'printf' printf("&d\n",sum)} ^~~~~~ /in/foo.c:11:11: error: expected ';' before '}' token return 0 } ^
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2024-12-24 14:36:31
- 评测时间
- 2024-12-24 14:36:31
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes