Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

6413
50184
Accepted
100

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$ 是一條邊的兩端 27 / 27
6 0~78 無其他限制 23 / 23

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 5 6 0013.8 29904 13052 Accepted 100
1 2 3 6 0013.9 29904 13080 Accepted 100
2 2 3 6 0013.9 29904 13028 Accepted 100
3 2 3 6 0013.7 29904 13216 Accepted 100
4 2 3 4 6 0013.8 29904 13228 Accepted 100
5 2 3 6 0013.5 29904 13020 Accepted 100
6 2 3 6 0013.8 29904 13148 Accepted 100
7 2 3 6 0014.0 29904 13116 Accepted 100
8 2 3 6 0013.8 29904 13084 Accepted 100
9 2 3 6 0013.6 29904 13060 Accepted 100
10 2 3 6 0013.6 29904 13144 Accepted 100
11 3 6 0014.7 30064 13404 Accepted 100
12 3 4 6 0014.9 30168 13460 Accepted 100
13 3 6 0014.2 30036 13236 Accepted 100
14 3 6 0014.1 30036 13032 Accepted 100
15 3 6 0014.8 30036 13328 Accepted 100
16 3 6 0014.3 30036 13116 Accepted 100
17 3 6 0014.5 30036 13184 Accepted 100
18 3 6 0015.1 30216 13636 Accepted 100
19 3 6 0014.2 30036 13276 Accepted 100
20 3 4 6 0014.8 30216 13620 Accepted 100
21 4 6 0094.1 54792 45484 Accepted 100
22 4 6 0054.5 44420 31756 Accepted 100
23 4 6 0072.0 50168 39244 Accepted 100
24 4 6 0065.2 45432 33500 Accepted 100
25 4 6 0066.6 48536 36984 Accepted 100
26 4 6 0060.3 45920 33728 Accepted 100
27 4 6 0074.1 51552 41224 Accepted 100
28 4 6 0050.8 42964 29944 Accepted 100
29 4 6 0064.4 46300 34496 Accepted 100
30 4 6 0073.9 48664 37708 Accepted 100
31 5 6 0093.9 38356 26128 Accepted 100
32 5 6 0061.1 35600 22052 Accepted 100
33 5 6 0088.2 35448 22896 Accepted 100
34 5 6 0079.3 34920 21896 Accepted 100
35 5 6 0101.6 36768 25688 Accepted 100
36 5 6 0185.4 39276 30068 Accepted 100
37 4 5 6 0129.5 52004 42048 Accepted 100
38 4 5 6 0132.1 52656 42936 Accepted 100
39 5 6 0117.0 39808 28696 Accepted 100
40 5 6 0079.1 37564 24536 Accepted 100
41 5 6 0105.4 36240 24316 Accepted 100
42 5 6 0155.1 38484 28592 Accepted 100
43 5 6 0088.8 35976 24172 Accepted 100
44 5 6 0102.9 36240 24444 Accepted 100
45 5 6 0089.0 40932 29408 Accepted 100
46 4 5 6 0152.7 56652 48160 Accepted 100
47 5 6 0088.9 38092 25372 Accepted 100
48 5 6 0064.3 35864 22472 Accepted 100
49 5 6 0164.0 38748 29152 Accepted 100
50 5 6 0145.9 37956 27632 Accepted 100
51 6 0119.9 37428 27300 Accepted 100
52 6 0146.4 38748 29264 Accepted 100
53 6 0115.2 46128 35748 Accepted 100
54 4 6 0142.5 52784 43292 Accepted 100
55 6 0052.4 34676 20656 Accepted 100
56 6 0075.9 36904 24020 Accepted 100
57 6 0121.7 36504 25416 Accepted 100
58 6 0092.4 35448 23224 Accepted 100
59 6 0141.3 38096 29056 Accepted 100
60 6 0086.3 36108 24128 Accepted 100
61 4 6 0154.7 55020 46336 Accepted 100
62 4 6 0094.8 46472 34944 Accepted 100
63 6 0112.8 39280 28436 Accepted 100
64 6 0108.6 39148 27928 Accepted 100
65 6 0162.3 38484 29060 Accepted 100
66 6 0095.0 35448 23416 Accepted 100
67 6 0088.6 35724 24032 Accepted 100
68 6 0095.7 35844 23912 Accepted 100
69 6 0085.6 40316 28004 Accepted 100
70 4 6 0080.0 43892 31472 Accepted 100
71 3 5 6 0013.7 29904 12928 Accepted 100
72 5 6 0098.9 34260 21284 Accepted 100
73 4 6 0135.4 57664 50184 Accepted 100
74 4 6 0127.5 57528 49896 Accepted 100
75 4 6 0127.5 57524 49828 Accepted 100
76 6 0192.8 37564 29488 Accepted 100
77 6 0186.2 37564 29684 Accepted 100
78 6 0161.5 37564 29464 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.21 KB
Back to Top