Problems
 
 
# Name    
A
standard input/output
2 s, 256 MB
Submit  x19859
B
standard input/output
2 s, 256 MB
Submit  x13500
C
standard input/output
2 s, 256 MB
Submit  x8437
D
standard input/output
2 s, 256 MB
Submit  x5389
E
standard input/output
2 s, 256 MB
Submit  x1110
F
standard input/output
2 s, 256 MB
Submit  x213
G
standard input/output
2 s, 256 MB
Submit  x343
Complete problemset
 
 
 
 
Questions about problems
 
 
  Question Answer
2022-03-08 18:43:31
Announcement
Problem C. Weight of the System of Nested Segments
*****
You must select the endpoints for n segments using the m given points. It is necessary to minimize the total weight of 2n points, which are the endpoints of the segments.
The segments must be a system of nested segments.

For each segment, you need to output two indices i and j (numbers from 1 to m) --- these are the indices of points from the input. That is, the endpoints of the segment are the i-th point and the j-th point from the input.
For example, "2 6" in the example means that the endpoints of the segment are x_2=-2 and x_6=9 (the segment itself looks like [-2,9]).
2022-03-08 18:14:50
Announcement
Problem C. Weight of the System of Nested Segments
*****

For each segment print two numbers i and j, between 1 and m inclusive. They are indices of the points which are the endpoints of the segment. In means that the i-th and j-th points of the input are the endpoints of the segment.