/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void bfs()':
/in/foo.cc:40:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 if(vis[tmp]) continue;vis[tmp]=1;Q.push(tmp);
 ^~
/in/foo.cc:40:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
 if(vis[tmp]) continue;vis[tmp]=1;Q.push(tmp);
                       ^~~
/in/foo.cc:47:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 if(vis[tmp])continue;vis[tmp]=1;Q.push(tmp);
 ^~
/in/foo.cc:47:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
 if(vis[tmp])continue;vis[tmp]=1;Q.push(tmp);
                      ^~~
/in/foo.cc:60:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 if(vis[tmp])continue;vis[tmp]=1;Q.push(tmp);
 ^~
/in/foo.cc:60:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
 if(vis[tmp])continue;vis[tmp]=1;Q.push(tmp);
                      ^~~
/in/foo.cc: In function 'void Work()':
/in/foo.cc:68:30: warning: iteration 100004 invokes undefined behavior [-Waggressive-loop-optimizations]
 for(int i=1;i<=MAXN;i++)fa[i]=i;
                         ~~~~~^~
/in/foo.cc:68:14: note: within this loop
 for(int i=1;i<=MAXN;i++)fa[i]=i;
             ~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 584.0 KiB
#2 Accepted 1ms 592.0 KiB
#3 Accepted 1ms 592.0 KiB
#4 Accepted 1ms 2.324 MiB
#5 Accepted 1ms 720.0 KiB
#6 Accepted 1ms 2.703 MiB
#7 Accepted 3ms 2.828 MiB
#8 Accepted 10ms 3.637 MiB
#9 Accepted 14ms 3.449 MiB
#10 Accepted 2ms 2.445 MiB

信息

递交者
类型
递交
题目
P1422 教主的难题
语言
C++
递交时间
2019-08-22 17:41:11
评测时间
2019-08-22 17:41:11
评测机
分数
100
总耗时
40ms
峰值内存
3.637 MiB