Runtime Error
/in/foo.cc: In function 'int main()': /in/foo.cc:11:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] scanf("%d",a[i]); ~~~~^ /in/foo.cc:12:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] scanf("%d",b); ^ /in/foo.cc:12:10: warning: 'b' is used uninitialized in this function [-Wuninitialized] scanf("%d",b); ~~~~~^~~~~~~~
信息
- 递交者
- 类型
- 自测
- 题目
- P1102 陶陶摘苹果
- 语言
- C++
- 递交时间
- 2017-09-13 11:52:11
- 评测时间
- 2017-09-13 11:52:11
- 评测机
- 分数
- 0
- 总耗时
- 3ms
- 峰值内存
- 316.0 KiB