Skip to content

ダーツ

UnratedLanguage limit
日本語

Language

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

Statement

ダーツ

ダーツ

Examples

Sample input 1
4 50
3
14
15
9
Sample output 1
48
Sample input 2
3 21
16
11
2
Sample output 2
20

Notes

原典:JOI 2007/2008 本選、情報オリンピック日本委員会。CC BY-SA 4.0。

Tags

No tags yet

Source

This problem accepts only these languages.

C++20