Compile Error
/in/foo.c: In function 'main': /in/foo.c:7:12: error: invalid operands to binary & (have 'char *' and 'int') scanf("%d"&n); ~~~~^ /in/foo.c:8:6: error: 'i' undeclared (first use in this function) for(i=1;i<=n;i++) ^ /in/foo.c:8:6: note: each undeclared identifier is reported only once for each function it appears in
信息
- 递交者
- 类型
- 递交
- 题目
- P1008 平方和累加
- 语言
- C
- 递交时间
- 2024-12-21 19:07:37
- 评测时间
- 2024-12-21 19:07:37
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes