TopCoder

User's AC Ratio

100.0% (2/2)

Submission's AC Ratio

100.0% (2/2)

Tags

Description

題目 PDF 檔在這裡

註:題本上的範例測資二的答案是錯誤的,judge 上的答案(7417)才是正確的。

Input Format

Output Format

Sample Input 1

503160642 32760 33127

Sample Output 1

3498

Sample Input 2

838515010 29548 29893

Sample Output 2

7417

Sample Input 3

144104393 39508 39913

Sample Output 3

32277

Hints

Problem Source

YTP 2020 高中組程式挑戰營 p17

Subtasks

No. Testdata Range Constraints Score
1 0~2 範例測資 0
2 0~5 無額外限制 25

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 262144 65536 1 2
1 1000 262144 65536 1 2
2 1000 262144 65536 1 2
3 1000 262144 65536 2
4 1000 262144 65536 2
5 1000 262144 65536 2