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
5 1 4

6
1 2 3 5 8 13

Sample Output 1

5

20

Hints

NTUJ cannot show multiple samples, so we merged them here.

Problem Source

Migrated from old NTUJ.

shik

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 3000 65536 65536
1 3000 65536 65536
2 3000 65536 65536
3 3000 65536 65536
4 3000 65536 65536
5 3000 65536 65536
6 3000 65536 65536
7 3000 65536 65536
8 3000 65536 65536
9 3000 65536 65536
10 3000 65536 65536
11 3000 65536 65536
12 3000 65536 65536
13 3000 65536 65536
14 3000 65536 65536
15 3000 65536 65536
16 3000 65536 65536
17 3000 65536 65536
18 3000 65536 65536
19 3000 65536 65536
20 3000 65536 65536
21 3000 65536 65536
22 3000 65536 65536
23 3000 65536 65536
24 3000 65536 65536
25 3000 65536 65536
26 3000 65536 65536
27 3000 65536 65536
28 3000 65536 65536
29 3000 65536 65536
30 3000 65536 65536
31 3000 65536 65536