Skip to content

ゴルフ (Golf)

Unrated
日本語

Language

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

Statement

問題文 1ページ

問題文 2ページ

問題文 3ページ

Examples

Sample input 1
3 5 8 6
1
5 6 2 8
Sample output 1
3
Sample input 2
1 1 1 10
3
5 6 2 8
1 2 2 3
8 10 3 5
Sample output 2
1
Sample input 3
20 68 85 74
5
30 70 14 100
5 24 15 67
75 86 75 79
75 90 19 62
93 98 26 58
Sample output 3
4

Notes

Tags

No tags yet

Source