Skip to content

Garden

UnratedLanguage limit
English

Language

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

Statement

Garden

Garden

Examples

Sample input 1
6 5
7 3
3 4
3 3
6 1
1 1
5 5
5 5
3 1
Sample output 1
22

Tags

No tags yet

Source

This problem accepts only these languages.

C++20