Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

29243
74840
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 2~25 $n \leq 2500, m \leq 5000$ 17 / 17
3 26~50 $c_i = 1$ 20 / 20
4 2~25, 51~77 $n \leq 100000, m \leq 100000$ 42 / 42
5 0~107 無其他限制 21 / 21

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 5 0022.8 34936 18776 Accepted 100
1 1 5 0023.0 34936 18764 Accepted 100
2 2 4 5 0022.9 34936 18780 Accepted 100
3 2 4 5 0023.4 34936 18820 Accepted 100
4 2 4 5 0028.6 35424 19528 Accepted 100
5 2 4 5 0029.2 35588 19348 Accepted 100
6 2 4 5 0029.0 35572 19528 Accepted 100
7 2 4 5 0028.0 35568 19204 Accepted 100
8 2 4 5 0029.4 35572 19548 Accepted 100
9 2 4 5 0028.1 35484 19348 Accepted 100
10 2 4 5 0028.9 35460 19416 Accepted 100
11 2 4 5 0027.2 35480 19452 Accepted 100
12 2 4 5 0024.5 35068 19156 Accepted 100
13 2 4 5 0028.1 35428 19516 Accepted 100
14 2 4 5 0025.0 35096 19220 Accepted 100
15 2 4 5 0026.4 35440 19172 Accepted 100
16 2 4 5 0025.6 35464 19620 Accepted 100
17 2 4 5 0027.9 35436 19592 Accepted 100
18 2 4 5 0027.0 35452 19416 Accepted 100
19 2 4 5 0027.6 35440 19500 Accepted 100
20 2 4 5 0028.8 35448 19592 Accepted 100
21 2 4 5 0027.7 35436 19316 Accepted 100
22 2 4 5 0023.4 34936 18944 Accepted 100
23 2 4 5 0027.7 35556 19540 Accepted 100
24 2 4 5 0026.7 35456 19384 Accepted 100
25 2 4 5 0027.4 35444 19076 Accepted 100
26 3 5 0637.3 74556 63100 Accepted 100
27 3 5 0488.1 61156 55328 Accepted 100
28 3 5 0328.4 51132 45728 Accepted 100
29 3 5 0392.1 57836 49508 Accepted 100
30 3 5 0323.8 51352 46000 Accepted 100
31 3 5 0365.4 80112 74840 Accepted 100
32 3 5 0340.9 68784 63468 Accepted 100
33 3 5 0384.5 79660 54100 Accepted 100
34 3 5 0589.0 76404 63464 Accepted 100
35 3 5 0617.0 75480 63604 Accepted 100
36 3 5 0628.5 75532 63476 Accepted 100
37 3 5 0282.1 51732 46608 Accepted 100
38 3 5 0300.6 54580 48892 Accepted 100
39 3 5 0238.4 61492 40292 Accepted 100
40 3 5 0534.6 88740 64096 Accepted 100
41 3 5 0432.2 81880 56744 Accepted 100
42 3 5 0634.6 75272 64824 Accepted 100
43 3 5 0257.5 49724 44812 Accepted 100
44 3 5 0396.1 55660 50032 Accepted 100
45 3 5 0317.3 54192 49028 Accepted 100
46 3 5 0308.4 64064 44640 Accepted 100
47 3 5 0316.4 55368 47128 Accepted 100
48 3 5 0385.8 59344 50220 Accepted 100
49 3 5 0464.1 84344 58688 Accepted 100
50 3 5 0451.1 66352 55092 Accepted 100
51 4 5 0149.9 41564 33684 Accepted 100
52 4 5 0197.2 47948 33388 Accepted 100
53 4 5 0172.4 47244 32592 Accepted 100
54 4 5 0167.9 48504 30312 Accepted 100
55 4 5 0173.3 48984 30040 Accepted 100
56 4 5 0198.8 47380 32860 Accepted 100
57 4 5 0143.5 41604 33428 Accepted 100
58 4 5 0152.2 45248 32068 Accepted 100
59 4 5 0165.9 42912 33724 Accepted 100
60 4 5 0161.1 49096 30280 Accepted 100
61 4 5 0135.2 46692 28348 Accepted 100
62 4 5 0151.5 44836 33832 Accepted 100
63 4 5 0153.3 41476 33344 Accepted 100
64 4 5 0095.4 43632 26224 Accepted 100
65 4 5 0092.7 44488 27280 Accepted 100
66 4 5 0201.3 56464 48500 Accepted 100
67 4 5 0112.1 42572 24928 Accepted 100
68 4 5 0145.1 44148 33288 Accepted 100
69 4 5 0148.1 46108 27316 Accepted 100
70 4 5 0223.6 58584 50580 Accepted 100
71 4 5 0119.1 46652 28972 Accepted 100
72 4 5 0197.8 52016 33780 Accepted 100
73 4 5 0136.3 42132 33960 Accepted 100
74 4 5 0155.5 47456 29168 Accepted 100
75 4 5 0139.8 46664 27892 Accepted 100
76 4 5 0117.6 41396 30968 Accepted 100
77 4 5 0119.8 43884 28368 Accepted 100
78 5 0708.2 74196 64520 Accepted 100
79 5 0482.9 57192 51544 Accepted 100
80 5 0542.1 84696 57112 Accepted 100
81 5 0458.1 78060 52820 Accepted 100
82 5 0250.9 46488 41084 Accepted 100
83 5 0653.1 78044 60728 Accepted 100
84 5 0517.0 67452 53912 Accepted 100
85 5 0429.4 67424 47612 Accepted 100
86 5 0459.2 82976 57372 Accepted 100
87 5 0378.7 79384 52904 Accepted 100
88 5 0404.4 77676 52124 Accepted 100
89 5 0435.3 70668 58732 Accepted 100
90 5 0711.0 77056 64128 Accepted 100
91 5 0483.6 87484 57520 Accepted 100
92 5 0442.7 75828 50248 Accepted 100
93 5 0347.3 73136 67868 Accepted 100
94 5 0371.4 78340 73324 Accepted 100
95 5 0361.0 61424 47044 Accepted 100
96 5 0414.3 66780 46304 Accepted 100
97 5 0363.0 76200 50428 Accepted 100
98 5 0616.9 77608 66896 Accepted 100
99 5 0460.2 72244 60700 Accepted 100
100 5 0300.0 71004 45760 Accepted 100
101 5 0691.9 73920 64196 Accepted 100
102 5 0685.3 75080 64956 Accepted 100
103 5 0509.9 83168 57112 Accepted 100
104 5 0525.6 76000 57080 Accepted 100
105 5 0350.7 76352 51272 Accepted 100
106 5 0411.5 64656 50880 Accepted 100
107 5 0242.8 58716 39768 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.98 KB
Back to Top