Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

35245
23992
Time Limit Exceeded
27

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0 範例測資 0 / 0
2 0~10 $N,Q \leq 500$ 0 / 19
3 0~20, 71 $N,Q\leq 3000$ 0 / 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$ 是一條邊的兩端 27 / 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 0002.6 6224 3652 Accepted 100
1 2 3 6 0002.7 6224 3796 Wrong Answer 0
2 2 3 6 0003.2 6224 3480 Wrong Answer 0
3 2 3 6 0002.8 6224 3604 Wrong Answer 0
4 2 3 4 6 0002.8 6224 3816 Wrong Answer 0
5 2 3 6 0002.6 6224 3744 Wrong Answer 0
6 2 3 6 0002.7 6224 3580 Wrong Answer 0
7 2 3 6 0002.5 6224 3608 Wrong Answer 0
8 2 3 6 0002.7 6224 3708 Wrong Answer 0
9 2 3 6 0003.0 6224 3676 Wrong Answer 0
10 2 3 6 0002.6 6224 3680 Wrong Answer 0
11 3 6 0007.3 6356 3872 Wrong Answer 0
12 3 4 6 0008.0 6356 3876 Wrong Answer 0
13 3 6 0008.6 6356 3868 Wrong Answer 0
14 3 6 0005.8 6356 3824 Wrong Answer 0
15 3 6 0019.0 6356 3792 Wrong Answer 0
16 3 6 0007.5 6356 3788 Wrong Answer 0
17 3 6 0009.3 6356 3812 Wrong Answer 0
18 3 6 0004.9 6356 3868 Wrong Answer 0
19 3 6 0005.6 6356 3792 Wrong Answer 0
20 3 4 6 0007.5 6356 3896 Wrong Answer 0
21 4 6 1073.0 24832 22196 Time Limit Exceeded 0
22 4 6 0143.1 17260 14716 Wrong Answer 0
23 4 6 0212.1 21416 18772 Wrong Answer 0
24 4 6 1056.2 17556 14784 Time Limit Exceeded 0
25 4 6 0173.5 20448 17804 Wrong Answer 0
26 4 6 0164.1 18468 15852 Wrong Answer 0
27 4 6 0220.4 22808 20172 Wrong Answer 0
28 4 6 0138.7 16388 13756 Wrong Answer 0
29 4 6 0817.0 18488 15592 Wrong Answer 0
30 4 6 1064.3 20172 17388 Time Limit Exceeded 0
31 5 6 0089.9 17256 13796 Accepted 100
32 5 6 0058.1 13660 10728 Accepted 100
33 5 6 0080.4 13512 10560 Accepted 100
34 5 6 0066.0 12776 9724 Accepted 100
35 5 6 0100.5 15408 12468 Accepted 100
36 5 6 0161.0 18672 15676 Accepted 100
37 4 5 6 0121.6 21920 19028 Accepted 100
38 4 5 6 0125.4 22340 19672 Accepted 100
39 5 6 0096.0 19100 15908 Accepted 100
40 5 6 0071.9 16192 12652 Accepted 100
41 5 6 0090.5 14544 11748 Accepted 100
42 5 6 0148.8 17644 14528 Accepted 100
43 5 6 0089.2 14344 11352 Accepted 100
44 5 6 0085.7 14552 11640 Accepted 100
45 5 6 0089.1 16288 13604 Accepted 100
46 4 5 6 0152.7 25236 22460 Accepted 100
47 5 6 0073.4 16796 13344 Accepted 100
48 5 6 0054.0 14096 11068 Accepted 100
49 5 6 0152.8 17936 14788 Accepted 100
50 5 6 0132.3 16916 14096 Accepted 100
51 6 1099.8 17188 14412 Time Limit Exceeded 0
52 6 1092.2 19016 16208 Time Limit Exceeded 0
53 6 1059.3 18472 15820 Time Limit Exceeded 0
54 4 6 1055.6 20976 18320 Time Limit Exceeded 0
55 6 1090.4 13004 10072 Time Limit Exceeded 0
56 6 1059.6 16072 12736 Time Limit Exceeded 0
57 6 1112.4 15976 13148 Time Limit Exceeded 0
58 6 1058.5 14232 11504 Time Limit Exceeded 0
59 6 1070.7 18256 15516 Time Limit Exceeded 0
60 6 1052.8 15044 12268 Time Limit Exceeded 0
61 4 6 1065.1 22464 19780 Time Limit Exceeded 0
62 4 6 1086.4 17140 14496 Time Limit Exceeded 0
63 6 1061.0 19524 16376 Time Limit Exceeded 0
64 6 1092.2 19260 16088 Time Limit Exceeded 0
65 6 1070.6 18628 15756 Time Limit Exceeded 0
66 6 1098.0 14272 11572 Time Limit Exceeded 0
67 6 1080.1 14616 11804 Time Limit Exceeded 0
68 6 1092.6 14756 11868 Time Limit Exceeded 0
69 6 1070.3 14932 12188 Time Limit Exceeded 0
70 4 6 1061.4 15160 12492 Time Limit Exceeded 0
71 3 5 6 0003.0 6224 3700 Accepted 100
72 5 6 0080.3 15876 12412 Accepted 100
73 4 6 1081.3 25132 22444 Time Limit Exceeded 0
74 4 6 1057.8 26656 23924 Time Limit Exceeded 0
75 4 6 1069.2 26748 23992 Time Limit Exceeded 0
76 6 1061.4 19728 16948 Time Limit Exceeded 0
77 6 1080.3 19728 16864 Time Limit Exceeded 0
78 6 1067.0 19728 16924 Time Limit Exceeded 0
Submitter:
Compiler:
c++17
Code Length:
2.9 KB
Back to Top