F.A.Qs Home Discuss ProblemSet Status Ranklist Contest 入门OJ LoginRegister 捐赠本站
Problem 1558. -- [JSOI2009]等差数列

1558: [JSOI2009]等差数列

Time Limit: 5 Sec  Memory Limit: 64 MB
Submit: 1018  Solved: 316
[Submit][Status][Discuss]

Description

Input

Output

Sample Input

5
1
3
-1
-4
7
2
A 2 4 -1 5
B 1 5

Sample Output

2

HINT



Source

JSOI2009Day1

[Submit][Status][Discuss]

HOME Back