Home
Volumes
Contests
Sections
Forums
Users
Print
Help
About
Forums
>
Discussion of problems
> topic:
Problem "Student Scholarhips"
There is a contest!
В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.
imesecan
Nov.17.2016 at 04:48:43 PM
0
--- Input 1 ---
10 5
16 60
26 40
20 20
22 100
2 40
9 20
11 100
24 80
6 80
14 40
24
2
20
14
6
--- Pattern ---
2
imesecan
Jan.12.2017 at 07:14:12 PM
1
You need to sort the list, then you can use binary search
onedrive.live.com/?authkey=%21AOIgP00XozYUH9s&...
(pages 8 to 11).
For sorting you need to know, arrays, structs, and sort function
onedrive.live.com/?authkey=%21ABm5lQZ2n2y75JM&...
(starting from page 16).
www.contester.ru