Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7290
34008
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.7 18712 12908 Accepted 100
1 2 3 6 0013.8 18712 13048 Accepted 100
2 2 3 6 0014.1 18712 12996 Accepted 100
3 2 3 6 0013.8 18712 12992 Accepted 100
4 2 3 4 6 0013.8 18712 13052 Accepted 100
5 2 3 6 0013.7 18712 12992 Accepted 100
6 2 3 6 0013.7 18712 12988 Accepted 100
7 2 3 6 0013.4 18712 12996 Accepted 100
8 2 3 6 0013.7 18712 13084 Accepted 100
9 2 3 6 0013.7 18712 13012 Accepted 100
10 2 3 6 0013.6 18712 12972 Accepted 100
11 3 6 0014.7 18844 13212 Accepted 100
12 3 4 6 0014.8 18844 13104 Accepted 100
13 3 6 0014.5 18844 13192 Accepted 100
14 3 6 0014.2 18712 12920 Accepted 100
15 3 6 0015.2 18844 13184 Accepted 100
16 3 6 0014.6 18712 13188 Accepted 100
17 3 6 0014.8 18844 13224 Accepted 100
18 3 6 0015.3 18860 13332 Accepted 100
19 3 6 0014.3 18712 13088 Accepted 100
20 3 4 6 0015.0 18860 13312 Accepted 100
21 4 6 0099.2 34580 31216 Accepted 100
22 4 6 0058.8 27608 23440 Accepted 100
23 4 6 0077.4 31212 27580 Accepted 100
24 4 6 0072.7 28844 24560 Accepted 100
25 4 6 0070.1 30196 26268 Accepted 100
26 4 6 0064.1 28560 24528 Accepted 100
27 4 6 0080.5 32168 28624 Accepted 100
28 4 6 0054.2 26816 22492 Accepted 100
29 4 6 0069.5 29144 25060 Accepted 100
30 4 6 0080.5 30792 26888 Accepted 100
31 5 6 0106.4 27792 22528 Accepted 100
32 5 6 0072.4 24904 19596 Accepted 100
33 5 6 0098.8 24256 19432 Accepted 100
34 5 6 0090.4 23728 18816 Accepted 100
35 5 6 0116.4 25576 21148 Accepted 100
36 5 6 0193.4 28084 23944 Accepted 100
37 4 5 6 0141.8 33384 29632 Accepted 100
38 4 5 6 0138.7 33712 30068 Accepted 100
39 5 6 0130.6 29376 24472 Accepted 100
40 5 6 0092.8 27000 21532 Accepted 100
41 5 6 0121.9 25048 20352 Accepted 100
42 5 6 0180.6 27424 23084 Accepted 100
43 5 6 0105.0 24784 20100 Accepted 100
44 5 6 0115.1 25180 20656 Accepted 100
45 5 6 0106.2 27120 22852 Accepted 100
46 4 5 6 0167.2 36368 33076 Accepted 100
47 5 6 0100.1 27528 22184 Accepted 100
48 5 6 0075.9 25168 19808 Accepted 100
49 5 6 0186.4 27688 23348 Accepted 100
50 5 6 0165.8 26896 22360 Accepted 100
51 6 0142.1 26104 21720 Accepted 100
52 6 0170.9 27820 23684 Accepted 100
53 6 0133.0 29920 26072 Accepted 100
54 4 6 0146.2 33640 30052 Accepted 100
55 6 0062.4 23848 18388 Accepted 100
56 6 0089.6 26220 20740 Accepted 100
57 6 0137.0 25444 20876 Accepted 100
58 6 0109.9 24256 19556 Accepted 100
59 6 0168.9 26896 22836 Accepted 100
60 6 0113.4 25048 20388 Accepted 100
61 4 6 0160.8 35092 31756 Accepted 100
62 4 6 0101.2 29500 25416 Accepted 100
63 6 0129.7 28848 23960 Accepted 100
64 6 0125.3 28716 23664 Accepted 100
65 6 0189.4 27292 23144 Accepted 100
66 6 0111.8 24388 19640 Accepted 100
67 6 0108.3 24388 19832 Accepted 100
68 6 0116.8 24652 20004 Accepted 100
69 6 0093.1 26216 21784 Accepted 100
70 4 6 0083.6 27808 23404 Accepted 100
71 3 5 6 0014.1 18712 13056 Accepted 100
72 5 6 0111.1 23068 18972 Accepted 100
73 4 6 0156.5 36940 33988 Accepted 100
74 4 6 0158.2 36808 33964 Accepted 100
75 4 6 0157.0 36808 34008 Accepted 100
76 6 0228.0 26372 23048 Accepted 100
77 6 0221.6 26372 23048 Accepted 100
78 6 0218.7 26372 22896 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.47 KB
Back to Top