Compile Error
/in/foo.c: In function 'main': /in/foo.c:4:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=] scanf("%d",n); ^ /in/foo.c:5:9: warning: right-hand operand of comma expression has no effect [-Wunused-value] for(m=1,n;m<n;m++) ^ /in/foo.c:6:17: error: lvalue required as left operand of assignment {n%m==0?s=s+m:s=s ^ /in/foo.c:9:2: error: expected ';' before '}' token } ^
信息
- 递交者
- 类型
- 自测
- 题目
- A3-1 素数专题:因子的和
- 语言
- C
- 递交时间
- 2023-09-26 15:54:14
- 评测时间
- 2023-09-26 15:54:14
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes