VO 20 Bài 1 - MofK rating cao nhất Vinoy

View as PDF

Submit solution

Points: 0.50 (partial)
Time limit: 1.0s
Memory limit: 512M
Input: stdin
Output: stdout

Problem type
Allowed languages
C, C++, Java, Kotlin, Pascal, PyPy, Python, Scratch

Đọc đề ở: https://drive.google.com/file/d/1gvLCTyizvg09H_kU0XZ-WjmgYxLNwkEO/view

Sample Input

1
5 4
1 7 10 20 100
10 1 3
10 3 4
137 1 5
2696 1 5

Sample Output

8
20
1
2558

Comments

Please read the guidelines before commenting.


There are no comments at the moment.