Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

38001
522992
Memory 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 0008.0 13088 8276 Accepted 100
1 2 3 6 0008.8 13088 8284 Wrong Answer 0
2 2 3 6 0771.7 526336 521320 Memory Limit Exceeded 0
3 2 3 6 0773.0 526336 521316 Memory Limit Exceeded 0
4 2 3 4 6 0008.4 13088 8288 Accepted 100
5 2 3 6 0008.1 13088 8220 Accepted 100
6 2 3 6 0766.3 526336 521328 Memory Limit Exceeded 0
7 2 3 6 0008.2 13088 8316 Accepted 100
8 2 3 6 0775.0 526336 521484 Memory Limit Exceeded 0
9 2 3 6 0772.8 526336 521360 Memory Limit Exceeded 0
10 2 3 6 0008.3 13088 8220 Accepted 100
11 3 6 0010.3 13220 8420 Wrong Answer 0
12 3 4 6 0777.5 526336 521424 Memory Limit Exceeded 0
13 3 6 0787.6 526336 521536 Memory Limit Exceeded 0
14 3 6 0773.0 526336 521488 Memory Limit Exceeded 0
15 3 6 0777.1 526336 521448 Memory Limit Exceeded 0
16 3 6 0775.5 526336 521388 Memory Limit Exceeded 0
17 3 6 0780.3 526336 521284 Memory Limit Exceeded 0
18 3 6 0769.6 526336 521372 Memory Limit Exceeded 0
19 3 6 0772.2 526336 521496 Memory Limit Exceeded 0
20 3 4 6 0010.7 13220 8224 Wrong Answer 0
21 4 6 0178.6 22108 18864 Wrong Answer 0
22 4 6 0095.4 18068 14264 Wrong Answer 0
23 4 6 0132.5 19844 16344 Accepted 100
24 4 6 0862.2 526336 522256 Memory Limit Exceeded 0
25 4 6 0120.0 19784 16344 Wrong Answer 0
26 4 6 0104.7 18940 15304 Wrong Answer 0
27 4 6 0161.1 20620 17392 Wrong Answer 0
28 4 6 0085.2 17276 13428 Wrong Answer 0
29 4 6 0116.2 18252 14580 Wrong Answer 0
30 4 6 0868.4 526336 522492 Memory Limit Exceeded 0
31 5 6 0162.2 19164 14676 Accepted 100
32 5 6 0110.3 17068 12780 Accepted 100
33 5 6 0151.4 16784 12880 Accepted 100
34 5 6 0134.6 16520 12480 Accepted 100
35 5 6 0200.8 17708 13948 Accepted 100
36 5 6 0295.7 19424 16136 Accepted 100
37 4 5 6 0218.0 19676 16304 Accepted 100
38 4 5 6 0229.2 19856 16512 Accepted 100
39 5 6 0195.4 20088 16200 Accepted 100
40 5 6 0147.5 18756 14084 Accepted 100
41 5 6 0184.5 17312 13468 Accepted 100
42 5 6 0251.6 18896 15504 Accepted 100
43 5 6 0171.7 17180 13264 Accepted 100
44 5 6 0174.1 17312 13492 Accepted 100
45 5 6 0168.9 17664 14036 Accepted 100
46 4 5 6 0264.1 21108 17960 Accepted 100
47 5 6 0153.4 18900 14584 Accepted 100
48 5 6 0113.4 17332 13040 Accepted 100
49 5 6 0259.4 19028 15712 Accepted 100
50 5 6 0237.5 18500 15088 Accepted 100
51 6 0930.3 526336 522740 Memory Limit Exceeded 0
52 6 0942.4 526336 522804 Memory Limit Exceeded 0
53 6 0945.3 526336 522624 Memory Limit Exceeded 0
54 4 6 0919.8 526336 522652 Memory Limit Exceeded 0
55 6 0834.8 526336 522060 Memory Limit Exceeded 0
56 6 0853.0 526336 522092 Memory Limit Exceeded 0
57 6 0908.6 526336 522500 Memory Limit Exceeded 0
58 6 0880.7 526336 522492 Memory Limit Exceeded 0
59 6 0948.8 526336 522992 Memory Limit Exceeded 0
60 6 0884.8 526336 522520 Memory Limit Exceeded 0
61 4 6 0940.5 526336 522896 Memory Limit Exceeded 0
62 4 6 0871.5 526336 522448 Memory Limit Exceeded 0
63 6 0884.8 526336 522616 Memory Limit Exceeded 0
64 6 0893.5 526336 522624 Memory Limit Exceeded 0
65 6 0962.7 526336 522900 Memory Limit Exceeded 0
66 6 0885.2 526336 522396 Memory Limit Exceeded 0
67 6 0892.2 526336 522424 Memory Limit Exceeded 0
68 6 0903.2 526336 522564 Memory Limit Exceeded 0
69 6 0873.8 526336 522328 Memory Limit Exceeded 0
70 4 6 0850.4 526336 522064 Memory Limit Exceeded 0
71 3 5 6 0008.7 13088 8272 Accepted 100
72 5 6 0143.5 19072 13804 Accepted 100
73 4 6 0292.1 21076 18048 Wrong Answer 0
74 4 6 0288.5 21076 18048 Wrong Answer 0
75 4 6 0283.8 21080 17916 Wrong Answer 0
76 6 0961.3 526336 522864 Memory Limit Exceeded 0
77 6 0342.6 19556 16224 Wrong Answer 0
78 6 0982.8 526336 522992 Memory Limit Exceeded 0
Submitter:
Compiler:
c++17
Code Length:
950 Bytes
Back to Top