/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void tr_dfs1(ll, ll)':
/in/foo.cc:27:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (ll i=0;i<tr[now].s.size();i++)
              ~^~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void tr_dfs2(ll)':
/in/foo.cc:39:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (ll i=0;i<tr[now].s.size();i++)
              ~^~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:66:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for (ll i=2;i<=n;i++)
  ^~~
/in/foo.cc:69:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   printf("%lld\n%lld\n",ansn,ans[ansn]);
   ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 8ms 9.43 MiB
#2 Accepted 8ms 9.406 MiB
#3 Accepted 8ms 9.438 MiB
#4 Accepted 8ms 9.406 MiB
#5 Accepted 9ms 9.559 MiB
#6 Accepted 10ms 9.691 MiB
#7 Accepted 15ms 10.309 MiB
#8 Accepted 37ms 12.082 MiB
#9 Accepted 131ms 18.258 MiB
#10 Accepted 130ms 18.258 MiB

信息

递交者
类型
递交
题目
P1487 景点中心
语言
C++
递交时间
2024-01-14 19:30:04
评测时间
2024-01-14 19:30:04
评测机
分数
100
总耗时
368ms
峰值内存
18.258 MiB