Skip to content

Phidias

UnratedLanguage limit
English

Language

Contribute a translation
Time limit
1000 ms
Memory limit
16 MB (no extra memory)
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

Phidias: original English statement, page 1

Phidias: original English statement, page 2

Examples

Sample input 1
21 11
4
10 4
6 2
7 5
15 10
Sample output 1
10

Tags

No tags yet

Source

This problem accepts only these languages.

C++20