Skip to content

Nile

UnratedFunction
English

Language

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

Statement

Nile: original English statement, page 1

Nile: original English statement, page 2

Nile: original English statement, page 3

Examples

Sample input 1
5
15 5 1
12 4 2
2 5 2
10 6 3
21 3 2
3
5
9
1
Sample output 1
16
11
23

Tags

No tags yet

Source

This problem accepts only these languages.

C++20