Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7697
47444
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 0002.6 6212 3628 Accepted 100
1 2 3 6 0002.6 6212 3652 Accepted 100
2 2 3 6 0002.7 6212 3688 Accepted 100
3 2 3 6 0002.7 6212 3760 Accepted 100
4 2 3 4 6 0002.7 6212 3604 Accepted 100
5 2 3 6 0002.5 6212 3620 Accepted 100
6 2 3 6 0002.6 6212 3628 Accepted 100
7 2 3 6 0002.5 6212 3660 Accepted 100
8 2 3 6 0002.8 6212 3692 Accepted 100
9 2 3 6 0002.6 6212 3668 Accepted 100
10 2 3 6 0002.6 6212 3664 Accepted 100
11 3 6 0003.9 6420 4104 Accepted 100
12 3 4 6 0004.4 6676 3968 Accepted 100
13 3 6 0003.7 6480 3888 Accepted 100
14 3 6 0003.3 6356 3824 Accepted 100
15 3 6 0004.3 6532 3880 Accepted 100
16 3 6 0003.4 6360 3824 Accepted 100
17 3 6 0003.8 6480 3920 Accepted 100
18 3 6 0004.7 6688 4296 Accepted 100
19 3 6 0003.3 6344 3820 Accepted 100
20 3 4 6 0004.4 6684 4184 Accepted 100
21 4 6 0125.0 46416 43476 Accepted 100
22 4 6 0066.9 29864 26912 Accepted 100
23 4 6 0094.0 39524 36372 Accepted 100
24 4 6 0081.3 30788 28000 Accepted 100
25 4 6 0087.2 36888 33592 Accepted 100
26 4 6 0073.3 32208 29300 Accepted 100
27 4 6 0099.0 41900 38704 Accepted 100
28 4 6 0058.8 27612 24512 Accepted 100
29 4 6 0080.3 32532 29760 Accepted 100
30 4 6 0095.0 36600 33236 Accepted 100
31 5 6 0110.5 23968 20596 Accepted 100
32 5 6 0069.0 18416 15328 Accepted 100
33 5 6 0103.1 18364 15348 Accepted 100
34 5 6 0090.5 17200 14188 Accepted 100
35 5 6 0133.8 21640 18676 Accepted 100
36 5 6 0207.2 26880 24044 Accepted 100
37 4 5 6 0160.6 41092 37748 Accepted 100
38 4 5 6 0166.6 41980 38852 Accepted 100
39 5 6 0139.6 27144 23736 Accepted 100
40 5 6 0096.0 22172 18508 Accepted 100
41 5 6 0126.9 20096 17236 Accepted 100
42 5 6 0192.6 25320 22120 Accepted 100
43 5 6 0120.3 19836 16884 Accepted 100
44 5 6 0121.1 20248 17232 Accepted 100
45 5 6 0116.2 25964 22988 Accepted 100
46 4 5 6 0202.4 48104 45012 Accepted 100
47 5 6 0105.7 23352 20072 Accepted 100
48 5 6 0079.0 19000 15908 Accepted 100
49 5 6 0199.0 25884 22788 Accepted 100
50 5 6 0176.7 24164 21152 Accepted 100
51 6 0172.4 24084 21204 Accepted 100
52 6 0184.1 26620 23572 Accepted 100
53 6 0146.8 33684 30828 Accepted 100
54 4 6 0171.5 42696 39508 Accepted 100
55 6 0060.2 16860 13576 Accepted 100
56 6 0088.6 21496 17992 Accepted 100
57 6 0148.3 21832 18676 Accepted 100
58 6 0114.1 19100 16132 Accepted 100
59 6 0175.8 25784 22904 Accepted 100
60 6 0110.2 20300 17500 Accepted 100
61 4 6 0192.9 46228 42992 Accepted 100
62 4 6 0116.4 32480 29648 Accepted 100
63 6 0136.7 27136 23984 Accepted 100
64 6 0132.2 26756 23424 Accepted 100
65 6 0204.4 26240 23264 Accepted 100
66 6 0111.4 19308 16400 Accepted 100
67 6 0121.3 19976 16828 Accepted 100
68 6 0121.6 19992 16960 Accepted 100
69 6 0099.1 24620 21780 Accepted 100
70 4 6 0092.0 28464 25460 Accepted 100
71 3 5 6 0002.8 6212 3604 Accepted 100
72 5 6 0108.7 20068 16528 Accepted 100
73 4 6 0190.9 50808 47444 Accepted 100
74 4 6 0185.3 50676 47252 Accepted 100
75 4 6 0188.1 50700 47424 Accepted 100
76 6 0227.7 27160 23632 Accepted 100
77 6 0226.5 27120 23456 Accepted 100
78 6 0221.3 27144 23608 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.16 KB
Back to Top