Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

10569
40024
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 3~10 $M=N-1$,$u_i=i$,$v_i=i+1$。 21 / 21
2 11~25 $N\le 500$,$Q_{upper}=3\times 10^ 5$。 18 / 18
3 11~43 $N\le 500$。 14 / 14
4 44~59 $A=1$。 23 / 23
5 0~77 無額外限制。 24 / 24

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 5 0002.7 24956 3620 Accepted 100
1 5 0002.7 24956 3508 Accepted 100
2 5 0002.6 24956 3596 Accepted 100
3 1 5 0198.7 43584 39796 Accepted 100
4 1 5 0193.1 43580 39964 Accepted 100
5 1 5 0193.4 43584 39968 Accepted 100
6 1 5 0190.9 43580 40024 Accepted 100
7 1 5 0196.4 43580 39884 Accepted 100
8 1 5 0192.9 43584 39968 Accepted 100
9 1 5 0185.1 43580 40016 Accepted 100
10 1 5 0002.7 24956 3620 Accepted 100
11 2 3 5 0020.3 24956 3716 Accepted 100
12 2 3 5 0020.5 24956 3728 Accepted 100
13 2 3 5 0016.8 24956 3660 Accepted 100
14 2 3 5 0003.2 24956 3680 Accepted 100
15 2 3 5 0003.3 24956 3484 Accepted 100
16 2 3 5 0004.2 24956 3660 Accepted 100
17 2 3 5 0004.4 24956 3600 Accepted 100
18 2 3 5 0004.3 24956 3636 Accepted 100
19 2 3 5 0004.2 24956 3660 Accepted 100
20 2 3 5 0002.9 24956 3700 Accepted 100
21 2 3 5 0002.9 24956 3720 Accepted 100
22 2 3 5 0016.7 24956 3724 Accepted 100
23 2 3 5 0017.0 24956 3724 Accepted 100
24 2 3 5 0016.9 24956 3544 Accepted 100
25 2 3 5 0016.9 24956 3656 Accepted 100
26 3 5 0020.2 24956 3724 Accepted 100
27 3 5 0020.3 24956 3640 Accepted 100
28 3 5 0016.8 24956 3644 Accepted 100
29 3 5 0003.2 24956 3448 Accepted 100
30 3 5 0003.2 24956 3720 Accepted 100
31 3 5 0004.1 24956 3724 Accepted 100
32 3 5 0004.2 24956 3652 Accepted 100
33 3 5 0004.3 24956 3552 Accepted 100
34 3 5 0004.3 24956 3552 Accepted 100
35 3 5 0003.0 24956 3700 Accepted 100
36 3 5 0003.1 24956 3720 Accepted 100
37 3 5 0016.6 24956 3656 Accepted 100
38 3 5 0016.6 24956 3724 Accepted 100
39 3 5 0016.7 24956 3724 Accepted 100
40 3 5 0016.7 24956 3720 Accepted 100
41 3 5 0002.6 24956 3744 Accepted 100
42 3 5 0002.7 24956 3616 Accepted 100
43 3 5 0002.6 24956 3636 Accepted 100
44 4 5 0002.6 24956 3636 Accepted 100
45 4 5 0329.8 24956 22396 Accepted 100
46 4 5 0332.2 24956 22344 Accepted 100
47 4 5 0326.0 24956 22472 Accepted 100
48 4 5 0296.9 24956 21460 Accepted 100
49 4 5 0300.3 24956 21524 Accepted 100
50 4 5 0314.8 24956 21972 Accepted 100
51 4 5 0222.5 24956 19608 Accepted 100
52 4 5 0207.0 24956 17484 Accepted 100
53 4 5 0235.1 24956 20700 Accepted 100
54 4 5 0245.2 43584 39904 Accepted 100
55 4 5 0306.8 24956 22328 Accepted 100
56 4 5 0165.3 24956 17548 Accepted 100
57 4 5 0140.7 24956 17652 Accepted 100
58 4 5 0175.1 24956 17704 Accepted 100
59 4 5 0149.0 24956 17640 Accepted 100
60 5 0370.6 24956 22320 Accepted 100
61 5 0371.2 24956 22340 Accepted 100
62 5 0369.9 24956 22372 Accepted 100
63 5 0359.6 24956 22228 Accepted 100
64 5 0332.7 24956 21852 Accepted 100
65 5 0332.6 24956 22028 Accepted 100
66 5 0356.3 24956 22152 Accepted 100
67 5 0228.0 24956 18008 Accepted 100
68 5 0319.5 24956 21756 Accepted 100
69 5 0255.5 24956 20928 Accepted 100
70 5 0247.7 24956 20596 Accepted 100
71 5 0328.2 24956 22360 Accepted 100
72 5 0314.1 24956 22380 Accepted 100
73 5 0332.0 24956 22380 Accepted 100
74 5 0162.8 24956 17756 Accepted 100
75 5 0146.5 24956 17652 Accepted 100
76 5 0166.4 24956 17584 Accepted 100
77 5 0149.5 24956 17680 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.84 KB
Back to Top