/ WHOJ /

记录详情

Accepted

foo.cc: In function 'void tarjan(int, int)':
foo.cc:20:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   20 |     for(int i=0;i<v[u].size();++i)
      |                 ~^~~~~~~~~~~~
foo.cc:27:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   27 |     for(int i=0;i<b[u].size();++i)
      |                 ~^~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:69:13: warning: unused variable 'pre' [-Wunused-variable]
   69 |     int x=1,pre;
      |             ^~~
正在同步测试数据,请稍后
Found 6 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 341ms 137.953 MiB
#2 Accepted 341ms 137.867 MiB
#3 Accepted 186ms 137.867 MiB
#4 Accepted 195ms 137.906 MiB
#5 Accepted 166ms 137.867 MiB
#6 Accepted 155ms 137.867 MiB

信息

递交者
类型
递交
题目
P1369 【模板】最近公共祖先(LCA)
题目数据
下载
语言
C++
递交时间
2022-09-25 13:42:51
评测时间
2022-09-25 13:42:51
评测机
分数
100
总耗时
1387ms
峰值内存
137.953 MiB