Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7521
40440
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 0014.2 17928 13716 Accepted 100
1 2 3 6 0014.7 17928 13740 Accepted 100
2 2 3 6 0014.6 17928 13772 Accepted 100
3 2 3 6 0014.8 17928 13784 Accepted 100
4 2 3 4 6 0014.6 17928 13904 Accepted 100
5 2 3 6 0014.7 17928 13888 Accepted 100
6 2 3 6 0014.7 17928 13596 Accepted 100
7 2 3 6 0014.8 17928 13820 Accepted 100
8 2 3 6 0014.7 17928 13768 Accepted 100
9 2 3 6 0014.8 17928 13744 Accepted 100
10 2 3 6 0014.4 17928 13820 Accepted 100
11 3 6 0016.3 18160 13936 Accepted 100
12 3 4 6 0015.7 18144 14084 Accepted 100
13 3 6 0016.2 18060 14004 Accepted 100
14 3 6 0015.6 18060 13864 Accepted 100
15 3 6 0016.9 18060 14084 Accepted 100
16 3 6 0015.7 18060 13912 Accepted 100
17 3 6 0016.7 18060 14004 Accepted 100
18 3 6 0017.4 18456 14424 Accepted 100
19 3 6 0016.1 18216 14260 Accepted 100
20 3 4 6 0016.4 18244 14240 Accepted 100
21 4 6 0112.6 40880 37720 Accepted 100
22 4 6 0064.7 31112 27500 Accepted 100
23 4 6 0087.6 36636 33140 Accepted 100
24 4 6 0078.5 32208 28608 Accepted 100
25 4 6 0084.6 35196 31440 Accepted 100
26 4 6 0070.5 32392 28784 Accepted 100
27 4 6 0089.9 37944 34576 Accepted 100
28 4 6 0061.5 29868 26240 Accepted 100
29 4 6 0076.3 32864 29348 Accepted 100
30 4 6 0088.7 35544 31744 Accepted 100
31 5 6 0106.7 26348 22636 Accepted 100
32 5 6 0069.1 23592 19664 Accepted 100
33 5 6 0104.8 23340 20184 Accepted 100
34 5 6 0090.2 22812 19536 Accepted 100
35 5 6 0124.4 24792 21800 Accepted 100
36 5 6 0185.8 27168 24712 Accepted 100
37 4 5 6 0149.7 38600 35188 Accepted 100
38 4 5 6 0151.8 39120 35640 Accepted 100
39 5 6 0128.8 27800 24452 Accepted 100
40 5 6 0093.3 25556 21820 Accepted 100
41 5 6 0115.7 24132 21096 Accepted 100
42 5 6 0169.0 26508 23696 Accepted 100
43 5 6 0107.7 24000 20896 Accepted 100
44 5 6 0115.9 24264 21192 Accepted 100
45 5 6 0113.8 28344 25148 Accepted 100
46 4 5 6 0183.7 42680 39536 Accepted 100
47 5 6 0102.7 26084 22348 Accepted 100
48 5 6 0073.3 23856 20336 Accepted 100
49 5 6 0179.5 26772 23972 Accepted 100
50 5 6 0163.1 25980 23168 Accepted 100
51 6 0161.7 25452 22672 Accepted 100
52 6 0165.7 26772 24104 Accepted 100
53 6 0142.1 33024 29916 Accepted 100
54 4 6 0161.6 39200 35716 Accepted 100
55 6 0061.9 22668 18748 Accepted 100
56 6 0088.2 24896 20880 Accepted 100
57 6 0141.4 24528 21580 Accepted 100
58 6 0113.5 23340 20236 Accepted 100
59 6 0169.9 26112 23608 Accepted 100
60 6 0105.5 24000 20996 Accepted 100
61 4 6 0180.0 41228 37924 Accepted 100
62 4 6 0114.3 33136 29612 Accepted 100
63 6 0125.8 27272 23892 Accepted 100
64 6 0121.8 27140 23672 Accepted 100
65 6 0183.7 26376 23784 Accepted 100
66 6 0113.2 23472 20328 Accepted 100
67 6 0113.2 23736 20676 Accepted 100
68 6 0120.1 23736 20736 Accepted 100
69 6 0097.1 27628 24320 Accepted 100
70 4 6 0088.8 30832 27204 Accepted 100
71 3 5 6 0015.1 17928 13844 Accepted 100
72 5 6 0099.5 23872 19308 Accepted 100
73 4 6 0172.7 44548 40424 Accepted 100
74 4 6 0168.0 44408 40432 Accepted 100
75 4 6 0170.4 44436 40440 Accepted 100
76 6 0221.0 27148 23420 Accepted 100
77 6 0217.4 27108 23452 Accepted 100
78 6 0219.8 27132 23440 Accepted 100
Submitter:
pcc
Compiler:
c++17
Code Length:
1.22 KB
Back to Top