Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

63122
41120
Time Limit Exceeded
39

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$ 0 / 11
5 0, 31~50, 71~72 $a_i,b_i$ 是一條邊的兩端 0 / 27
6 0~78 無其他限制 0 / 23

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 5 6 0013.5 21676 13068 Accepted 100
1 2 3 6 0014.5 21676 13080 Accepted 100
2 2 3 6 0016.6 21676 13052 Accepted 100
3 2 3 6 0015.4 21676 12980 Accepted 100
4 2 3 4 6 0015.4 21676 13036 Accepted 100
5 2 3 6 0014.1 21676 13080 Accepted 100
6 2 3 6 0014.8 21676 12916 Accepted 100
7 2 3 6 0014.6 21676 13040 Accepted 100
8 2 3 6 0017.0 21676 13100 Accepted 100
9 2 3 6 0015.8 21676 12984 Accepted 100
10 2 3 6 0014.2 21676 13080 Accepted 100
11 3 6 0155.5 21808 13300 Accepted 100
12 3 4 6 0123.9 21840 13304 Accepted 100
13 3 6 0108.9 21808 13188 Accepted 100
14 3 6 0050.6 21808 13192 Accepted 100
15 3 6 0259.1 21808 13368 Accepted 100
16 3 6 0084.6 21808 13260 Accepted 100
17 3 6 0198.3 21808 13176 Accepted 100
18 3 6 0136.9 21872 13484 Accepted 100
19 3 6 0053.5 21808 13168 Accepted 100
20 3 4 6 0173.6 21864 13472 Accepted 100
21 4 6 1100.8 40548 35404 Time Limit Exceeded 0
22 4 6 1089.3 32524 25552 Time Limit Exceeded 0
23 4 6 1075.2 36844 30628 Time Limit Exceeded 0
24 4 6 1080.4 33600 27380 Time Limit Exceeded 0
25 4 6 1074.2 35496 29244 Time Limit Exceeded 0
26 4 6 1093.4 33656 26852 Time Limit Exceeded 0
27 4 6 1087.5 37860 31800 Time Limit Exceeded 0
28 4 6 1088.7 31424 24340 Time Limit Exceeded 0
29 4 6 1075.3 34088 27652 Time Limit Exceeded 0
30 4 6 1081.5 35968 30244 Time Limit Exceeded 0
31 5 6 1081.1 31156 25248 Time Limit Exceeded 0
32 5 6 1073.1 27888 21540 Time Limit Exceeded 0
33 5 6 1072.6 27748 21464 Time Limit Exceeded 0
34 5 6 1101.3 27220 20760 Time Limit Exceeded 0
35 5 6 1102.9 29200 23892 Time Limit Exceeded 0
36 5 6 1090.6 31972 27560 Time Limit Exceeded 0
37 4 5 6 1059.0 38812 33872 Time Limit Exceeded 0
38 4 5 6 1061.3 39340 34240 Time Limit Exceeded 0
39 5 6 1064.6 32608 27520 Time Limit Exceeded 0
40 5 6 1097.6 30364 23788 Time Limit Exceeded 0
41 5 6 1097.6 28672 22836 Time Limit Exceeded 0
42 5 6 1075.6 31180 26452 Time Limit Exceeded 0
43 5 6 1064.8 28276 22440 Time Limit Exceeded 0
44 5 6 1094.6 28804 22968 Time Limit Exceeded 0
45 5 6 1079.8 31564 25888 Time Limit Exceeded 0
46 4 5 6 1080.8 42440 38120 Time Limit Exceeded 0
47 5 6 1081.4 30892 24692 Time Limit Exceeded 0
48 5 6 1078.1 28152 21920 Time Limit Exceeded 0
49 5 6 1086.0 31444 26900 Time Limit Exceeded 0
50 5 6 1080.0 30652 25716 Time Limit Exceeded 0
51 6 1087.3 29992 24976 Time Limit Exceeded 0
52 6 1071.9 31708 27140 Time Limit Exceeded 0
53 6 1081.9 35296 29976 Time Limit Exceeded 0
54 4 6 1081.3 39248 34216 Time Limit Exceeded 0
55 6 1100.2 26964 19984 Time Limit Exceeded 0
56 6 1091.9 29704 23172 Time Limit Exceeded 0
57 6 1081.1 29200 23724 Time Limit Exceeded 0
58 6 1077.7 27880 21700 Time Limit Exceeded 0
59 6 1084.4 30784 26196 Time Limit Exceeded 0
60 6 1072.7 28672 22860 Time Limit Exceeded 0
61 4 6 1076.9 41096 36348 Time Limit Exceeded 0
62 4 6 1074.9 34380 28472 Time Limit Exceeded 0
63 6 1083.3 32080 27216 Time Limit Exceeded 0
64 6 1071.8 31948 26732 Time Limit Exceeded 0
65 6 1064.7 31312 26676 Time Limit Exceeded 0
66 6 1089.8 27880 21812 Time Limit Exceeded 0
67 6 1075.3 28012 22192 Time Limit Exceeded 0
68 6 1071.2 28276 22312 Time Limit Exceeded 0
69 6 1083.0 30628 24404 Time Limit Exceeded 0
70 4 6 1065.0 32396 25876 Time Limit Exceeded 0
71 3 5 6 0019.6 21676 13104 Accepted 100
72 5 6 1099.6 26692 20036 Time Limit Exceeded 0
73 4 6 1061.8 43820 41120 Time Limit Exceeded 0
74 4 6 1074.1 43552 41064 Time Limit Exceeded 0
75 4 6 1071.8 43556 40964 Time Limit Exceeded 0
76 6 1079.1 31468 28808 Time Limit Exceeded 0
77 6 1069.6 31336 28692 Time Limit Exceeded 0
78 6 1080.6 31460 28604 Time Limit Exceeded 0
Submitter:
Compiler:
c++20
Code Length:
860 Bytes
Back to Top