Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

13662
50128
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.6 19532 13032 Accepted 100
1 2 3 6 0013.9 19532 13092 Accepted 100
2 2 3 6 0014.1 19532 13040 Accepted 100
3 2 3 6 0014.0 19532 12956 Accepted 100
4 2 3 4 6 0013.8 19532 12888 Accepted 100
5 2 3 6 0013.7 19532 13088 Accepted 100
6 2 3 6 0013.8 19532 13136 Accepted 100
7 2 3 6 0013.7 19532 13016 Accepted 100
8 2 3 6 0014.3 19532 13000 Accepted 100
9 2 3 6 0014.1 19532 13036 Accepted 100
10 2 3 6 0013.8 19532 13092 Accepted 100
11 3 6 0015.8 19680 13296 Accepted 100
12 3 4 6 0016.4 19808 13444 Accepted 100
13 3 6 0015.7 19664 13188 Accepted 100
14 3 6 0014.8 19664 12980 Accepted 100
15 3 6 0017.0 19804 13308 Accepted 100
16 3 6 0015.3 19664 13132 Accepted 100
17 3 6 0016.0 19664 13208 Accepted 100
18 3 6 0018.2 19996 13632 Accepted 100
19 3 6 0015.2 19664 13204 Accepted 100
20 3 4 6 0016.6 19864 13372 Accepted 100
21 4 6 0224.8 48008 45096 Accepted 100
22 4 6 0119.7 35844 31784 Accepted 100
23 4 6 0164.9 42316 39184 Accepted 100
24 4 6 0159.0 37428 33104 Accepted 100
25 4 6 0151.0 40476 37120 Accepted 100
26 4 6 0131.2 37516 33744 Accepted 100
27 4 6 0174.9 44016 41012 Accepted 100
28 4 6 0108.0 34204 30060 Accepted 100
29 4 6 0146.7 38204 34180 Accepted 100
30 4 6 0180.3 41120 37292 Accepted 100
31 5 6 0192.3 30136 25172 Accepted 100
32 5 6 0131.8 26368 20964 Accepted 100
33 5 6 0177.6 25868 20728 Accepted 100
34 5 6 0164.0 25364 20152 Accepted 100
35 5 6 0225.7 28028 23376 Accepted 100
36 5 6 0340.1 30484 26348 Accepted 100
37 4 5 6 0264.9 45180 41148 Accepted 100
38 4 5 6 0277.3 45832 41940 Accepted 100
39 5 6 0233.6 31516 26816 Accepted 100
40 5 6 0172.4 29340 23624 Accepted 100
41 5 6 0215.0 26660 21828 Accepted 100
42 5 6 0306.8 29752 25348 Accepted 100
43 5 6 0200.9 26448 21748 Accepted 100
44 5 6 0201.9 26692 21820 Accepted 100
45 5 6 0206.7 32912 27908 Accepted 100
46 4 5 6 0326.5 50280 47252 Accepted 100
47 5 6 0182.4 29864 24624 Accepted 100
48 5 6 0136.3 26612 21544 Accepted 100
49 5 6 0336.7 29988 25584 Accepted 100
50 5 6 0283.0 29244 24644 Accepted 100
51 6 0276.4 28632 24388 Accepted 100
52 6 0299.1 29980 25940 Accepted 100
53 6 0267.2 38420 34324 Accepted 100
54 4 6 0278.2 46136 42504 Accepted 100
55 6 0120.7 25388 19776 Accepted 100
56 6 0167.9 28660 23092 Accepted 100
57 6 0247.0 27804 22824 Accepted 100
58 6 0194.7 26656 21240 Accepted 100
59 6 0312.0 29392 25424 Accepted 100
60 6 0195.0 27296 22196 Accepted 100
61 4 6 0308.8 48684 45488 Accepted 100
62 4 6 0196.4 38620 34336 Accepted 100
63 6 0239.6 31012 26640 Accepted 100
64 6 0235.8 30832 26268 Accepted 100
65 6 0322.1 29680 25424 Accepted 100
66 6 0201.8 26724 21472 Accepted 100
67 6 0209.7 26916 21972 Accepted 100
68 6 0211.2 27028 21892 Accepted 100
69 6 0185.5 32380 27476 Accepted 100
70 4 6 0172.4 35720 30972 Accepted 100
71 3 5 6 0014.5 19532 13112 Accepted 100
72 5 6 0172.4 25516 20240 Accepted 100
73 4 6 0368.0 53464 49988 Accepted 100
74 4 6 0361.9 53336 49936 Accepted 100
75 4 6 0362.4 53348 50128 Accepted 100
76 6 0431.2 31344 27128 Accepted 100
77 6 0418.1 31300 27016 Accepted 100
78 6 0441.4 31328 27028 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.94 KB
Back to Top