TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

5 15
7 4
8 -5
4 2
1 -1
2 4

5 15
7 4
8 -5
4 2
1 -1
2 4

Sample Output 1

14
14

Hints

Problem Source

Migrated from old NTUJ.

POI ONTAK 2010 Day 6

Subtasks

No. Testdata Range Score

Testdata and Limits

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