TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

9682 9719 18 29 71757646 
5746 5958 19 24 1942485264 
0 0 0 0 0 

Sample Output 1

15404518 
1918408970

Hints

Problem Source

Migrated from old NTUJ.

2011 ICPC Phuket

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 3000 65536 200