0 Runtime Error
foo.cc: In function 'int main()': foo.cc:25:33: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] 25 | scanf("%d",op); | ~^ ~~ | | | | | int | int* foo.cc:25:30: warning: 'op' may be used uninitialized [-Wmaybe-uninitialized] 25 | scanf("%d",op); | ~~~~~^~~~~~~~~ foo.cc:24:29: note: 'op' was declared here 24 | int op; | ^~
# | 状态 分数 | 耗时 | 内存占用 |
---|
#1 | Runtime Error 0 | 2ms | 404 KiB |
#2 | Runtime Error 0 | 2ms | 532 KiB |
#3 | Runtime Error 0 | 2ms | 444 KiB |
#4 | Runtime Error 0 | 2ms | 404 KiB |
#5 | Runtime Error 0 | 2ms | 532 KiB |
#6 | Runtime Error 0 | 27ms | 1.9 MiB |
#7 | Runtime Error 0 | 20ms | 1.5 MiB |
#8 | Runtime Error 0 | 27ms | 1.9 MiB |
#9 | Runtime Error 0 | 27ms | 2 MiB |
#10 | Runtime Error 0 | 27ms | 1.9 MiB |
#11 | Runtime Error 0 | 27ms | 2 MiB |
#12 | Runtime Error 0 | 27ms | 1.9 MiB |
#13 | Runtime Error 0 | 21ms | 1.5 MiB |
#14 | Runtime Error 0 | 21ms | 1.5 MiB |
#15 | Runtime Error 0 | 27ms | 1.9 MiB |
#16 | Runtime Error 0 | 27ms | 1.9 MiB |
#17 | Runtime Error 0 | 21ms | 1.5 MiB |
#18 | Runtime Error 0 | 28ms | 1.9 MiB |
#19 | Runtime Error 0 | 21ms | 1.5 MiB |
#20 | Runtime Error 0 | 21ms | 1.5 MiB |
#21 | Runtime Error 0 | 29ms | 1.9 MiB |
#22 | Runtime Error 0 | 29ms | 1.9 MiB |
#23 | Runtime Error 0 | 33ms | 2.3 MiB |
#24 | Runtime Error 0 | 34ms | 2.4 MiB |
#25 | Runtime Error 0 | 33ms | 2.3 MiB |
代码
信息
- 递交者
- 题目
- NOISX2025GFB NOISX2025GFB
- 比赛
- 【官方数据 HA】联合省选 2025 批量测试
- 语言
- C++14(O2)
- 代码长度
- 686 Bytes
- 递交时间
- 2025-3-6 13:11:46
- 评测时间
- 2025-3-6 14:46:28
- 分数
- 0
- 总耗时
- 537ms
- 峰值时间
- 34ms
- 峰值内存
- 2.4 MiB