100 Accepted
foo.cc: In function 'long long int read()': foo.cc:8:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 8 | while (!isdigit(c=getchar())) f=(c=='-'?-1:1); n=c-'0'; | ^~~~~ foo.cc:8:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 8 | while (!isdigit(c=getchar())) f=(c=='-'?-1:1); n=c-'0'; | ^ foo.cc: In function 'int main()': foo.cc:109:13: warning: variable 'c' set but not used [-Wunused-but-set-variable] 109 | int c,t; c=read(); t=read(); | ^
# | 状态 分数 | 耗时 | 内存占用 |
---|
#1 | Accepted 4 | 5ms | 4.9 MiB |
#2 | Accepted 4 | 5ms | 5 MiB |
#3 | Accepted 4 | 5ms | 5 MiB |
#4 | Accepted 4 | 316ms | 20 MiB |
#5 | Accepted 4 | 330ms | 21.4 MiB |
#6 | Accepted 4 | 324ms | 20.2 MiB |
#7 | Accepted 4 | 321ms | 22.4 MiB |
#8 | Accepted 4 | 344ms | 22.3 MiB |
#9 | Accepted 4 | 338ms | 22.4 MiB |
#10 | Accepted 4 | 339ms | 22.4 MiB |
#11 | Accepted 4 | 5ms | 5 MiB |
#12 | Accepted 4 | 5ms | 5 MiB |
#13 | Accepted 4 | 5ms | 4.9 MiB |
#14 | Accepted 4 | 5ms | 5 MiB |
#15 | Accepted 4 | 5ms | 4.9 MiB |
#16 | Accepted 4 | 388ms | 20.3 MiB |
#17 | Accepted 4 | 397ms | 20.4 MiB |
#18 | Accepted 4 | 113ms | 19.6 MiB |
#19 | Accepted 4 | 89ms | 13.4 MiB |
#20 | Accepted 4 | 79ms | 13.4 MiB |
#21 | Accepted 4 | 78ms | 13.4 MiB |
#22 | Accepted 4 | 31ms | 7.8 MiB |
#23 | Accepted 4 | 30ms | 7.8 MiB |
#24 | Accepted 4 | 368ms | 19 MiB |
#25 | Accepted 4 | 358ms | 18.9 MiB |
代码
信息
- 递交者
- 题目
- NOIP2024CGF NOIP2024CGF
- 比赛
- 【官方数据 FJ】 NOIP2024 批量测试
- 语言
- C++14(O2)
- 代码长度
- 2.5 KiB
- 递交时间
- 2024-12-7 0:26:13
- 评测时间
- 2024-12-7 0:32:58
- 分数
- 100
- 总耗时
- 4285ms
- 峰值时间
- 397ms
- 峰值内存
- 22.4 MiB