Runtime Error
/in/foo.c: In function 'main': /in/foo.c:7:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=] scanf("%d",a[i]); ^ /in/foo.c:7:2: warning: iteration 6 invokes undefined behavior [-Waggressive-loop-optimizations] scanf("%d",a[i]); ^~~~~~~~~~~~~~~~ /in/foo.c:6:2: note: within this loop for(i=0;i<10;i++) ^~~
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2019-04-21 19:30:49
- 评测时间
- 2019-04-21 19:30:49
- 评测机
- 分数
- 0
- 总耗时
- 1ms
- 峰值内存
- 200.0 KiB