TopCoder

User's AC Ratio

100.0% (1/1)

Submission's AC Ratio

20.0% (1/5)

Tags

Description

Input Format

Output Format

Sample Input 1

4
1 2 3 4
1 4 9 15

6
0 1 10 100 1000 10000
-256 1227 52824 3464544 -562952256 -956389520256

7
0 1 10 100 1000 10000 10001
-256 1227 52824 3464544 -562952256 -956389520256 -956389520256

4
10000000000 10000000001 10000000002 10000000003
-1000000000000 1000000000000 -1000000000000 800000000000

Sample Output 1

No

Yes

No

Yes

Hints

Problem Source

Migrated from old NTUJ.

Team ranking 2020

Subtasks

No. Testdata Range Score

Testdata and Limits

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