记录详情

Runtime Error

foo.cc: In function 'void dfs(int, int, std::vector<std::vector<int> >&, std::vector<int>&, std::vector<int>&)':
foo.cc:10:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   10 |     for (int i = 0; i < tree[current].size(); i++) {
      |                     ~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:20:12: warning: unused variable 'm' [-Wunused-variable]
   20 |     int n, m;
      |            ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 2ms 384.0 KiB
#2 Runtime Error Aborted 2ms 384.0 KiB
#3 Runtime Error Segmentation fault 3ms 384.0 KiB
#4 Runtime Error Aborted 4ms 384.0 KiB
#5 Runtime Error Segmentation fault 5ms 384.0 KiB
#6 Runtime Error Segmentation fault 5ms 384.0 KiB
#7 Runtime Error Segmentation fault 2ms 384.0 KiB
#8 Runtime Error Segmentation fault 4ms 384.0 KiB
#9 Runtime Error Segmentation fault 5ms 384.0 KiB
#10 Runtime Error Aborted 4ms 384.0 KiB
#11 Runtime Error Aborted 3ms 384.0 KiB
#12 Runtime Error Segmentation fault 5ms 512.0 KiB
#13 Runtime Error Segmentation fault 3ms 512.0 KiB
#14 Runtime Error Aborted 2ms 512.0 KiB
#15 Runtime Error Aborted 4ms 384.0 KiB
#16 Runtime Error Segmentation fault 2ms 384.0 KiB
#17 Runtime Error Segmentation fault 4ms 384.0 KiB
#18 Runtime Error Segmentation fault 3ms 384.0 KiB
#19 Runtime Error Segmentation fault 3ms 384.0 KiB
#20 Runtime Error Aborted 3ms 384.0 KiB
#21 Runtime Error Segmentation fault 3ms 384.0 KiB
#22 Runtime Error Segmentation fault 2ms 384.0 KiB
#23 Runtime Error Segmentation fault 5ms 384.0 KiB
#24 Runtime Error Aborted 2ms 384.0 KiB
#25 Runtime Error Segmentation fault 2ms 384.0 KiB
#26 Runtime Error Aborted 2ms 384.0 KiB
#27 Runtime Error Aborted 3ms 512.0 KiB
#28 Runtime Error Aborted 3ms 384.0 KiB
#29 Runtime Error Segmentation fault 2ms 384.0 KiB
#30 Runtime Error Segmentation fault 5ms 384.0 KiB
#31 Wrong Answer Read -987368174, expect 170811323666. 90ms 3.492 MiB
#32 Wrong Answer Read 1114429550, expect 112783579246. 65ms 3.242 MiB
#33 Wrong Answer Read -1903708233, expect 28161062839. 25ms 1.875 MiB
#34 Wrong Answer Read -1586423958, expect 243226711914. 66ms 4.242 MiB
#35 Wrong Answer Read 2146682515, expect 6441649811. 13ms 1.125 MiB
#36 Runtime Error Aborted 38ms 1.992 MiB
#37 Wrong Answer Read -472117888, expect 175621541248. 331ms 3.867 MiB
#38 Wrong Answer Read 301007226, expect 446977606010. 183ms 5.371 MiB
#39 Accepted 8ms 896.0 KiB
#40 Wrong Answer Read 1073001516, expect 400504960044. 107ms 5.117 MiB
#41 Wrong Answer Read -2073778666, expect 161134978582. 65ms 3.492 MiB
#42 Wrong Answer Read 154518314, expect 34514256682. 30ms 2.242 MiB
#43 Runtime Error Aborted 16ms 1.5 MiB
#44 Wrong Answer Read 876147012, expect 116840264004. 46ms 3.117 MiB
#45 Runtime Error Aborted 21ms 1.75 MiB
#46 Wrong Answer Read -730904792, expect 7859029800. 24ms 1.25 MiB
#47 Wrong Answer Read 1041469632, expect 241559638208. 72ms 3.742 MiB
#48 Runtime Error Segmentation fault 2ms 512.0 KiB
#49 Runtime Error Aborted 16ms 1.375 MiB
#50 Wrong Answer Read 2021291595, expect 719280830027. 160ms 6.371 MiB
#51 Wrong Answer Read -420171403, expect 304522506613. 115ms 4.867 MiB
#52 Wrong Answer Read 1028699132, expect 121287783420. 66ms 3.617 MiB
#53 Wrong Answer Read 1648756136, expect 242166924712. 137ms 4.367 MiB
#54 Wrong Answer Read 941857833, expect 69661334569. 66ms 2.492 MiB
#55 Accepted 15ms 896.0 KiB
#56 Wrong Answer Read -480141960, expect 81124236664. 65ms 2.992 MiB
#57 Wrong Answer Read 935030220, expect 78244441548. 66ms 2.867 MiB
#58 Wrong Answer Read -1008061958, expect 175085597178. 89ms 3.867 MiB
#59 Wrong Answer Read -1077930890, expect 63346578550. 58ms 2.617 MiB
#60 Runtime Error Segmentation fault 5ms 640.0 KiB

信息

递交者
类型
递交
题目
P1348 2D 生活在树上
比赛
悬赏令第二周
语言
C++
递交时间
2022-04-09 22:45:56
评测时间
2022-04-09 22:45:56
评测机
分数
4
总耗时
2184ms
峰值内存
6.371 MiB