Skip to content

Ceiling Function

Unrated
English

Language

Contribute a translation
Time limit
5000 ms
Memory limit
512 MB
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

Ceiling Function, page 1

Ceiling Function, page 2

Examples

Sample input 1
5 3
2 7 1
3 1 4
1 5 9
2 6 5
9 7 3
Sample output 1
4
Sample input 2
3 4
3 1 2 40000
3 4 2 1
33 42 17 23
Sample output 2
2

Tags

No tags yet

Source