100 Accepted
foo.cc: In function 'int qpow(int, int, int)': foo.cc:22:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 22 | for(;y;(y>>=1)&&(x=(LL)x*x%Mod))if(y&1)z=(LL)z*x%Mod;return z; | ^~~ foo.cc:22:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 22 | for(;y;(y>>=1)&&(x=(LL)x*x%Mod))if(y&1)z=(LL)z*x%Mod;return z; | ^~~~~~ foo.cc: In function 'void dfs(int, int)': foo.cc:26:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions] 26 | for(auto [v,w]:G[u])if(v!=fa){ | ^
# | 状态 分数 | 耗时 | 内存占用 |
---|
#1 | Accepted 4 | 3ms | 2.7 MiB |
#2 | Accepted 4 | 3ms | 2.7 MiB |
#3 | Accepted 4 | 3ms | 2.6 MiB |
#4 | Accepted 4 | 218ms | 17.2 MiB |
#5 | Accepted 4 | 219ms | 17.2 MiB |
#6 | Accepted 4 | 201ms | 17.2 MiB |
#7 | Accepted 4 | 218ms | 17.3 MiB |
#8 | Accepted 4 | 221ms | 17.2 MiB |
#9 | Accepted 4 | 204ms | 17.3 MiB |
#10 | Accepted 4 | 193ms | 17.5 MiB |
#11 | Accepted 4 | 3ms | 2.8 MiB |
#12 | Accepted 4 | 3ms | 2.8 MiB |
#13 | Accepted 4 | 2ms | 2.6 MiB |
#14 | Accepted 4 | 3ms | 2.6 MiB |
#15 | Accepted 4 | 3ms | 2.8 MiB |
#16 | Accepted 4 | 167ms | 15.2 MiB |
#17 | Accepted 4 | 171ms | 15.3 MiB |
#18 | Accepted 4 | 87ms | 15.2 MiB |
#19 | Accepted 4 | 61ms | 8.3 MiB |
#20 | Accepted 4 | 60ms | 8.3 MiB |
#21 | Accepted 4 | 64ms | 8.3 MiB |
#22 | Accepted 4 | 23ms | 5.1 MiB |
#23 | Accepted 4 | 23ms | 5.1 MiB |
#24 | Accepted 4 | 244ms | 13.8 MiB |
#25 | Accepted 4 | 249ms | 13.9 MiB |
代码
信息
- 递交者
- 题目
- NOIP2024CGF NOIP2024CGF
- 比赛
- 【官方数据 ZJ】 NOIP2024 批量测试
- 语言
- C++14(O2)
- 代码长度
- 2 KiB
- 递交时间
- 2024-12-6 17:59:24
- 评测时间
- 2024-12-6 18:05:55
- 分数
- 100
- 总耗时
- 2648ms
- 峰值时间
- 249ms
- 峰值内存
- 17.5 MiB