/ lrn5 /

记录详情

Accepted

foo.cc: In function 'void dfs2(int)':
foo.cc:12:20: warning: comparison of integer expressions of different signedness: 'std::stack<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   12 |         if(l.size()==n)
      |            ~~~~~~~~^~~
foo.cc:14:39: warning: unused variable 'f' [-Wunused-variable]
   14 |                 stack<int> o;int st=0,f=0,lf=0;
      |                                       ^
foo.cc:14:43: warning: unused variable 'lf' [-Wunused-variable]
   14 |                 stack<int> o;int st=0,f=0,lf=0;
      |                                           ^~
foo.cc: In function 'void dfs(int)':
foo.cc:42:20: warning: comparison of integer expressions of different signedness: 'std::stack<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   42 |         if(l.size()==n)
      |            ~~~~~~~~^~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 3ms 412.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Accepted 3ms 412.0 KiB
#6 Accepted 5ms 540.0 KiB
#7 Accepted 5ms 540.0 KiB
#8 Accepted 4ms 540.0 KiB
#9 Accepted 5ms 588.0 KiB
#10 Accepted 5ms 540.0 KiB
#11 Accepted 12ms 1.469 MiB
#12 Accepted 11ms 1.367 MiB
#13 Accepted 20ms 1.395 MiB
#14 Accepted 20ms 1.449 MiB
#15 Accepted 11ms 1.402 MiB
#16 Accepted 3ms 412.0 KiB
#17 Accepted 3ms 412.0 KiB
#18 Accepted 4ms 412.0 KiB
#19 Accepted 4ms 412.0 KiB
#20 Accepted 49ms 620.0 KiB
#21 Accepted 48ms 644.0 KiB
#22 Accepted 68ms 616.0 KiB
#23 Accepted 856ms 1.277 MiB
#24 Accepted 798ms 1.324 MiB
#25 Accepted 528ms 1.277 MiB

信息

递交者
类型
递交
题目
P1002 旅行
语言
C++
递交时间
2023-08-16 08:44:55
评测时间
2023-08-16 08:44:55
评测机
分数
100
总耗时
2489ms
峰值内存
1.469 MiB