记录详情

Accepted

foo.cc: In function 'void dfs(int, int, int)':
foo.cc:46:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<a[now].size();i++){
              ~^~~~~~~~~~~~~~
foo.cc:41:6: warning: unused variable 'maxdepth' [-Wunused-variable]
  int maxdepth=depth;
      ^~~~~~~~
foo.cc: In function 'void solve()':
foo.cc:55:13: warning: variable 'root' set but not used [-Wunused-but-set-variable]
  int yuan=n,root=-1;
             ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 1.0 MiB
#2 Accepted 2ms 1.074 MiB
#3 Accepted 2ms 1.0 MiB
#4 Accepted 2ms 1.0 MiB
#5 Accepted 2ms 1.0 MiB
#6 Accepted 2ms 1.0 MiB
#7 Accepted 2ms 1.0 MiB
#8 Accepted 3ms 1.0 MiB
#9 Accepted 3ms 1.0 MiB
#10 Accepted 2ms 1.125 MiB
#11 Accepted 2ms 1.0 MiB
#12 Accepted 3ms 1.125 MiB
#13 Accepted 5ms 1.191 MiB
#14 Accepted 2ms 1.0 MiB
#15 Accepted 6ms 1.246 MiB
#16 Accepted 28ms 1.844 MiB
#17 Accepted 34ms 2.07 MiB
#18 Accepted 7ms 1.293 MiB
#19 Accepted 24ms 1.863 MiB
#20 Accepted 41ms 2.367 MiB

信息

递交者
类型
递交
题目
P1257 最长回路
比赛
南京师范大学算法赛队2021年7月集训程序设计竞赛(小兰集训赛)
语言
C++
递交时间
2021-07-16 16:54:47
评测时间
2021-07-16 16:54:47
评测机
分数
100
总耗时
186ms
峰值内存
2.367 MiB