/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'int visit(int, int, int)':
foo.cc:22:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   22 |     else
      |     ^~~~
foo.cc:24:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   24 |   for(int i=0;i<ve[begin].size();i++)
      |   ^~~
foo.cc:24:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   24 |   for(int i=0;i<ve[begin].size();i++)
      |               ~^~~~~~~~~~~~~~~~~
foo.cc: At global scope:
foo.cc:42:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   42 | main()
      |      ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 2.625 MiB
#2 Wrong Answer Read 11, expect 24. 6ms 2.637 MiB
#3 Wrong Answer Read 99, expect 8. 5ms 2.625 MiB
#4 Wrong Answer Read 99, expect 13. 133ms 2.875 MiB
#5 Time Exceeded ≥1098ms ≥3.75 MiB
#6 Wrong Answer Read 95, expect 5. 3ms 2.625 MiB
#7 Wrong Answer Read 99, expect 15. 5ms 2.75 MiB
#8 Wrong Answer Read 99, expect 17. 135ms 2.875 MiB
#9 Time Exceeded ≥1100ms ≥6.117 MiB
#10 Time Exceeded ≥1102ms ≥5.992 MiB

信息

递交者
类型
递交
题目
P1754 最优贸易
语言
C++
递交时间
2022-01-25 09:53:40
评测时间
2022-01-25 09:53:40
评测机
分数
10
总耗时
≥3594ms
峰值内存
≥6.117 MiB