记录详情

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 984.0 KiB
#2 Accepted 2ms 1.0 MiB
#3 Accepted 2ms 1.0 MiB

信息

递交者
类型
自测
题目
P1257 最长回路
语言
C++
递交时间
2021-07-16 16:54:31
评测时间
2021-07-16 16:54:31
评测机
分数
30
总耗时
7ms
峰值内存
1.0 MiB