Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

8920
108536
Wrong Answer
11

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$ 11 / 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 0002.6 6220 3584 Accepted 100
1 2 3 6 0002.8 6220 3588 Accepted 100
2 2 3 6 0003.1 6220 3512 Wrong Answer 0
3 2 3 6 0002.8 6232 3616 Accepted 100
4 2 3 4 6 0003.1 6264 3656 Accepted 100
5 2 3 6 0002.9 6220 3364 Accepted 100
6 2 3 6 0002.6 6220 3580 Wrong Answer 0
7 2 3 6 0002.7 6220 3608 Accepted 100
8 2 3 6 0003.0 6312 3900 Accepted 100
9 2 3 6 0002.9 6220 3632 Wrong Answer 0
10 2 3 6 0002.8 6220 3564 Wrong Answer 0
11 3 6 0004.6 6808 4384 Accepted 100
12 3 4 6 0005.5 7308 4784 Accepted 100
13 3 6 0003.7 6492 3804 Wrong Answer 0
14 3 6 0003.3 6352 3708 Wrong Answer 0
15 3 6 0004.2 6356 3764 Wrong Answer 0
16 3 6 0003.7 6352 3712 Wrong Answer 0
17 3 6 0004.0 6488 3852 Accepted 100
18 3 6 0006.1 7676 5112 Accepted 100
19 3 6 0003.7 6500 3864 Wrong Answer 0
20 3 4 6 0005.7 7672 5068 Accepted 100
21 4 6 0206.4 106540 103748 Accepted 100
22 4 6 0119.7 66992 64192 Accepted 100
23 4 6 0169.0 91036 88128 Accepted 100
24 4 6 0131.2 66072 63028 Accepted 100
25 4 6 0153.7 84128 81336 Accepted 100
26 4 6 0132.0 73184 70264 Accepted 100
27 4 6 0179.1 97320 94440 Accepted 100
28 4 6 0108.6 61152 58140 Accepted 100
29 4 6 0135.1 72416 69480 Accepted 100
30 4 6 0154.1 80380 77536 Accepted 100
31 5 6 0096.1 20856 17488 Wrong Answer 0
32 5 6 0061.4 16272 13116 Wrong Answer 0
33 5 6 0091.2 16224 13116 Wrong Answer 0
34 5 6 0086.4 15224 12060 Wrong Answer 0
35 5 6 0125.6 19080 16172 Wrong Answer 0
36 5 6 0205.0 23104 20056 Wrong Answer 0
37 4 5 6 0215.7 88740 85832 Accepted 100
38 4 5 6 0228.8 90904 87944 Accepted 100
39 5 6 0127.5 23396 20040 Wrong Answer 0
40 5 6 0089.6 19384 15896 Wrong Answer 0
41 5 6 0120.6 17612 14560 Wrong Answer 0
42 5 6 0179.1 21868 18804 Wrong Answer 0
43 5 6 0099.2 17636 14548 Wrong Answer 0
44 5 6 0111.8 17648 14472 Wrong Answer 0
45 5 6 0133.5 40364 37452 Accepted 100
46 4 5 6 0270.0 105876 103000 Accepted 100
47 5 6 0091.8 20392 17012 Wrong Answer 0
48 5 6 0067.1 16720 13604 Wrong Answer 0
49 5 6 0191.9 22280 19304 Wrong Answer 0
50 5 6 0174.6 20872 17984 Wrong Answer 0
51 6 0154.2 21752 18672 Wrong Answer 0
52 6 0186.7 23620 20640 Wrong Answer 0
53 6 0188.8 64924 62076 Accepted 100
54 4 6 0239.4 94644 91572 Accepted 100
55 6 0056.5 15432 12344 Wrong Answer 0
56 6 0084.4 19376 15800 Wrong Answer 0
57 6 0151.8 19540 16700 Wrong Answer 0
58 6 0112.7 17300 14304 Wrong Answer 0
59 6 0181.6 23320 20248 Wrong Answer 0
60 6 0119.5 18332 15392 Wrong Answer 0
61 4 6 0267.4 103428 100512 Accepted 100
62 4 6 0159.8 70456 67604 Accepted 100
63 6 0125.2 24260 20784 Wrong Answer 0
64 6 0123.3 23900 20636 Wrong Answer 0
65 6 0202.1 23364 20376 Wrong Answer 0
66 6 0119.3 17364 14252 Wrong Answer 0
67 6 0104.7 18264 15332 Wrong Answer 0
68 6 0117.8 18020 15064 Wrong Answer 0
69 6 0124.5 41872 38836 Wrong Answer 0
70 4 6 0135.3 60376 57620 Accepted 100
71 3 5 6 0003.0 6220 3452 Accepted 100
72 5 6 0120.7 19552 15908 Accepted 100
73 4 6 0252.6 111616 108532 Accepted 100
74 4 6 0254.3 111612 108536 Accepted 100
75 4 6 0255.9 111616 108532 Accepted 100
76 6 0255.3 25228 21624 Accepted 100
77 6 0246.9 25232 21540 Accepted 100
78 6 0245.3 25228 21576 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.94 KB
Back to Top