TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

3
1 10000 10000
3 1 1000
3 2 1000

Sample Output 1

1
27
803

Hints

Problem Source

Migrated from old NTUJ.

NTU NCPC 2014

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 2000 65536 131072