Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

42836
17180
Time Limit Exceeded
39

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0 範例測資 0 / 0
2 0~10 $N,Q \leq 500$ 19 / 19
3 0~20, 71 $N,Q\leq 3000$ 20 / 20
4 4, 12, 20~30, 37~38, 46, 54, 61~62, 70, 73~75 $|u_i-v_i|=1$ 0 / 11
5 0, 31~50, 71~72 $a_i,b_i$ 是一條邊的兩端 0 / 27
6 0~78 無其他限制 0 / 23

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 5 6 0008.1 12304 8296 Accepted 100
1 2 3 6 0008.1 12304 8208 Accepted 100
2 2 3 6 0009.1 12304 8324 Accepted 100
3 2 3 6 0008.9 12304 8256 Accepted 100
4 2 3 4 6 0008.0 12304 8200 Accepted 100
5 2 3 6 0008.5 12304 8256 Accepted 100
6 2 3 6 0008.2 12304 8324 Accepted 100
7 2 3 6 0008.2 12304 8316 Accepted 100
8 2 3 6 0009.5 12304 8360 Accepted 100
9 2 3 6 0009.4 12304 8280 Accepted 100
10 2 3 6 0008.0 12304 8308 Accepted 100
11 3 6 0025.1 12436 8296 Accepted 100
12 3 4 6 0028.9 12436 8300 Accepted 100
13 3 6 0016.6 12436 8392 Accepted 100
14 3 6 0012.4 12436 8392 Accepted 100
15 3 6 0070.4 12436 8460 Accepted 100
16 3 6 0019.1 12436 8312 Accepted 100
17 3 6 0026.9 12436 8412 Accepted 100
18 3 6 0049.1 12436 8344 Accepted 100
19 3 6 0017.5 12304 8164 Accepted 100
20 3 4 6 0027.6 12436 8428 Accepted 100
21 4 6 1100.9 19000 14820 Time Limit Exceeded 0
22 4 6 0319.0 17664 14180 Accepted 100
23 4 6 0423.3 19536 16112 Accepted 100
24 4 6 1055.7 16232 12156 Time Limit Exceeded 0
25 4 6 0436.9 19600 16376 Accepted 100
26 4 6 0369.1 18704 15336 Accepted 100
27 4 6 0470.8 20448 17180 Accepted 100
28 4 6 0332.2 16764 13248 Accepted 100
29 4 6 1091.4 17532 13512 Time Limit Exceeded 0
30 4 6 1064.8 17796 13820 Time Limit Exceeded 0
31 5 6 0160.3 18380 14264 Accepted 100
32 5 6 0108.6 16284 12292 Accepted 100
33 5 6 0180.5 16000 12464 Accepted 100
34 5 6 0168.6 15736 11868 Accepted 100
35 5 6 1085.3 16924 13292 Time Limit Exceeded 0
36 5 6 0371.8 18640 15256 Accepted 100
37 4 5 6 1089.8 18568 14672 Time Limit Exceeded 0
38 4 5 6 1102.8 19584 15808 Time Limit Exceeded 0
39 5 6 0196.0 19304 15300 Accepted 100
40 5 6 0145.8 17972 13560 Accepted 100
41 5 6 0259.2 16528 13020 Accepted 100
42 5 6 0314.6 18112 14608 Accepted 100
43 5 6 1066.7 16396 12640 Time Limit Exceeded 0
44 5 6 0201.5 16528 13084 Accepted 100
45 5 6 1091.9 16776 12872 Time Limit Exceeded 0
46 4 5 6 1096.5 19932 16076 Time Limit Exceeded 0
47 5 6 0156.5 18116 13808 Accepted 100
48 5 6 0117.8 16548 12428 Accepted 100
49 5 6 0382.3 18244 14876 Accepted 100
50 5 6 0327.0 17716 14492 Accepted 100
51 6 1092.3 17848 14216 Time Limit Exceeded 0
52 6 1066.7 19036 15388 Time Limit Exceeded 0
53 6 1071.0 18592 14804 Time Limit Exceeded 0
54 4 6 1089.1 19956 16224 Time Limit Exceeded 0
55 6 1082.1 16020 11880 Time Limit Exceeded 0
56 6 1080.3 17972 13640 Time Limit Exceeded 0
57 6 1060.2 17320 13624 Time Limit Exceeded 0
58 6 1088.2 16396 12716 Time Limit Exceeded 0
59 6 1097.4 18376 14996 Time Limit Exceeded 0
60 6 1087.2 16924 13156 Time Limit Exceeded 0
61 4 6 1062.4 20732 17068 Time Limit Exceeded 0
62 4 6 1055.3 17176 13248 Time Limit Exceeded 0
63 6 1079.0 19568 15804 Time Limit Exceeded 0
64 6 1078.2 19436 15652 Time Limit Exceeded 0
65 6 1053.9 18640 15160 Time Limit Exceeded 0
66 6 1102.6 16528 12728 Time Limit Exceeded 0
67 6 1071.7 16660 12796 Time Limit Exceeded 0
68 6 1098.1 16660 12940 Time Limit Exceeded 0
69 6 1094.5 16736 13060 Time Limit Exceeded 0
70 4 6 1052.6 17016 13008 Time Limit Exceeded 0
71 3 5 6 0008.6 12304 8304 Accepted 100
72 5 6 0142.1 18288 13372 Accepted 100
73 4 6 1075.9 19660 15960 Time Limit Exceeded 0
74 4 6 1072.4 20644 16952 Time Limit Exceeded 0
75 4 6 1095.5 20696 17052 Time Limit Exceeded 0
76 6 0383.0 20392 16208 Accepted 100
77 6 0384.4 20396 16264 Accepted 100
78 6 0435.2 20392 16168 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
708 Bytes
Back to Top