/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:55:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if (!son[k]) return; dfs(son[k],tp);
  ^~
/in/foo.cc:55:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (!son[k]) return; dfs(son[k],tp);
                       ^~~
/in/foo.cc: In function 'void dfs1(int)':
/in/foo.cc:81:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (reg int i=0;i<taglca[k].size();i++)
                      ~^~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void dfs2(int)':
/in/foo.cc:92:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (reg int i=0;i<tagt[k].size();i++)
                      ~^~~~~~~~~~~~~~~
/in/foo.cc:95:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (reg int i=0;i<taglca[k].size();i++)
                      ~^~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 29ms 33.75 MiB
#2 Accepted 20ms 33.75 MiB
#3 Accepted 17ms 34.625 MiB
#4 Accepted 23ms 32.25 MiB
#5 Accepted 20ms 33.758 MiB
#6 Accepted 177ms 47.246 MiB
#7 Accepted 177ms 47.25 MiB
#8 Accepted 145ms 47.375 MiB
#9 Accepted 159ms 41.996 MiB
#10 Accepted 122ms 40.871 MiB
#11 Accepted 130ms 41.871 MiB
#12 Accepted 128ms 40.621 MiB
#13 Accepted 117ms 39.746 MiB
#14 Accepted 82ms 40.996 MiB
#15 Accepted 89ms 39.621 MiB
#16 Accepted 120ms 40.996 MiB
#17 Accepted 122ms 39.914 MiB
#18 Accepted 120ms 40.035 MiB
#19 Accepted 112ms 40.035 MiB
#20 Accepted 345ms 48.406 MiB

信息

递交者
类型
递交
题目
P2004 天天爱跑步
语言
C++
递交时间
2018-02-27 08:12:26
评测时间
2018-02-27 08:12:26
评测机
分数
100
总耗时
2263ms
峰值内存
48.406 MiB