60 Wrong Answer
foo.cc: In function 'int read()': foo.cc:56:20: warning: 'ch' is used uninitialized [-Wuninitialized] 56 | while(ch < '0' || ch > '9'){if(ch == '-') flag = -flag; ch = getchar();} | ~~~~~~~~~^~~~~~~~~~~ foo.cc:55:10: note: 'ch' was declared here 55 | char ch; int sum = 0,flag = 1; | ^~
# | 状态 分数 | 耗时 | 内存占用 |
---|
#1 | Accepted 5 | 2ms | 404 KiB |
#2 | Accepted 5 | 1ms | 404 KiB |
#3 | Accepted 5 | 1ms | 320 KiB |
#4 | Wrong Answer 0 | 1ms | 404 KiB |
#5 | Accepted 5 | 1ms | 404 KiB |
#6 | Accepted 5 | 1ms | 408 KiB |
#7 | Accepted 5 | 15ms | 708 KiB |
#8 | Accepted 5 | 17ms | 712 KiB |
#9 | Accepted 5 | 2ms | 404 KiB |
#10 | Accepted 5 | 2ms | 404 KiB |
#11 | Accepted 5 | 16ms | 788 KiB |
#12 | Accepted 5 | 15ms | 788 KiB |
#13 | Wrong Answer 0 | 2ms | 324 KiB |
#14 | Accepted 5 | 1ms | 404 KiB |
#15 | Wrong Answer 0 | 15ms | 792 KiB |
#16 | Wrong Answer 0 | 16ms | 788 KiB |
#17 | Wrong Answer 0 | 1ms | 320 KiB |
#18 | Wrong Answer 0 | 2ms | 328 KiB |
#19 | Wrong Answer 0 | 18ms | 788 KiB |
#20 | Wrong Answer 0 | 17ms | 704 KiB |
代码
信息
- 递交者
- 题目
- NOIP2024AGF NOIP2024AGF
- 比赛
- 【官方数据 JS】 NOIP2024 批量测试
- 语言
- C++ 14(O2)
- 代码长度
- 2.8 KiB
- 递交时间
- 2024-12-6 17:43:01
- 评测时间
- 2024-12-6 17:43:06
- 分数
- 60
- 总耗时
- 148ms
- 峰值时间
- 18ms
- 峰值内存
- 792 KiB