F.A.Qs Home Discuss ProblemSet Status Ranklist Contest 入门OJ LoginRegister
Problem 5013. -- [ioi2017]Books

5013: [ioi2017]Books

Time Limit: 20 Sec  Memory Limit: 512 MB
Submit: 83  Solved: 14
[Submit][Status][Discuss]

Description

试题:www.lydsy.com/JudgeOnline/upload/books.pdf

Input

Output

Sample Input

4 0
0 2 3 1

Sample Output

6

HINT

 请不要按照IOI提交格式,按照OJ传统题正常提交格式

Source

By 佚名上传

[Submit][Status][Discuss]

HOME Back