Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

20641
56144
Time Limit Exceeded
50

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$ 11 / 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.2 36100 8172 Accepted 100
1 2 3 6 0008.3 36100 8304 Accepted 100
2 2 3 6 0008.7 36100 8360 Accepted 100
3 2 3 6 0008.5 36100 8344 Accepted 100
4 2 3 4 6 0008.4 36100 8348 Accepted 100
5 2 3 6 0008.3 36100 8300 Accepted 100
6 2 3 6 0009.2 36100 8324 Accepted 100
7 2 3 6 0008.3 36100 8404 Accepted 100
8 2 3 6 0008.6 36100 8392 Accepted 100
9 2 3 6 0008.6 36100 8380 Accepted 100
10 2 3 6 0008.1 36100 8276 Accepted 100
11 3 6 0010.1 36232 8780 Accepted 100
12 3 4 6 0010.2 36300 8696 Accepted 100
13 3 6 0056.3 36232 8776 Accepted 100
14 3 6 0032.1 36100 8616 Accepted 100
15 3 6 0011.0 36232 8700 Accepted 100
16 3 6 0009.4 36100 8580 Accepted 100
17 3 6 0010.0 36232 8552 Accepted 100
18 3 6 0011.6 36340 9136 Accepted 100
19 3 6 0009.3 36100 8372 Accepted 100
20 3 4 6 0010.5 36340 8992 Accepted 100
21 4 6 0193.4 58632 53452 Accepted 100
22 4 6 0083.1 48768 34508 Accepted 100
23 4 6 0119.6 53676 44728 Accepted 100
24 4 6 0136.0 50996 36680 Accepted 100
25 4 6 0108.7 52244 41768 Accepted 100
26 4 6 0090.5 49952 37148 Accepted 100
27 4 6 0131.9 55008 47340 Accepted 100
28 4 6 0075.9 47484 32040 Accepted 100
29 4 6 0110.6 50884 38056 Accepted 100
30 4 6 0147.5 53408 42416 Accepted 100
31 5 6 1059.1 45840 34884 Time Limit Exceeded 0
32 5 6 1077.4 42688 26904 Time Limit Exceeded 0
33 5 6 0168.3 42436 28108 Accepted 100
34 5 6 0147.8 41908 26320 Accepted 100
35 5 6 0184.0 44020 33488 Accepted 100
36 5 6 0337.9 46924 41980 Accepted 100
37 4 5 6 0199.7 56896 47776 Accepted 100
38 4 5 6 0208.3 57480 48748 Accepted 100
39 5 6 1078.3 47424 39700 Time Limit Exceeded 0
40 5 6 1057.3 44916 32048 Time Limit Exceeded 0
41 5 6 0205.6 43360 30856 Accepted 100
42 5 6 0292.9 46132 39300 Accepted 100
43 5 6 0148.7 43096 30528 Accepted 100
44 5 6 0189.9 43360 30996 Accepted 100
45 5 6 0159.6 47208 34976 Accepted 100
46 4 5 6 0250.7 61292 55872 Accepted 100
47 5 6 1056.6 45444 33848 Time Limit Exceeded 0
48 5 6 1083.7 42952 27848 Time Limit Exceeded 0
49 5 6 0324.2 46396 40172 Accepted 100
50 5 6 0277.1 45472 37456 Accepted 100
51 6 0248.7 45208 38140 Accepted 100
52 6 0309.8 46660 41952 Accepted 100
53 6 0213.2 51996 42632 Accepted 100
54 4 6 0236.0 57904 49968 Accepted 100
55 6 1097.3 41500 24584 Time Limit Exceeded 0
56 6 1063.8 44124 31244 Time Limit Exceeded 0
57 6 0230.8 44152 34276 Accepted 100
58 6 0185.8 42700 29872 Accepted 100
59 6 0275.5 46132 41128 Accepted 100
60 6 0202.0 43360 31540 Accepted 100
61 4 6 0255.7 60008 54092 Accepted 100
62 4 6 0155.3 51916 38548 Accepted 100
63 6 1079.7 46896 40264 Time Limit Exceeded 0
64 6 1081.1 46632 39496 Time Limit Exceeded 0
65 6 0314.2 46396 41800 Accepted 100
66 6 0190.7 42832 30096 Accepted 100
67 6 0177.3 43096 31228 Accepted 100
68 6 0193.9 43228 31240 Accepted 100
69 6 0153.2 46492 32520 Accepted 100
70 4 6 0131.9 49360 33896 Accepted 100
71 3 5 6 0008.4 36100 8464 Accepted 100
72 5 6 0141.5 40456 27508 Accepted 100
73 4 6 0283.6 61900 56144 Accepted 100
74 4 6 0273.8 60972 55344 Accepted 100
75 4 6 0265.5 60972 55164 Accepted 100
76 6 0312.1 42568 37392 Accepted 100
77 6 0296.5 42568 37488 Accepted 100
78 6 0295.7 42700 37380 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.79 KB
Back to Top