4
1 2 3 6
0
n = 4, a = [1, 2, 3, 6] 答案就是0. 分成[1, 2, 3]和[6]
n = 5, a = [1, 2, 3, 4, 5] 答案就是1. 分成[1,2,4]和[3,5]
Anything about this OnlineJudge, Please Contact Administrator. Click add QQ
OJ system based on HUSTOJ Project , UI based on Twitter Bootstrap
Copyright 2016 ACM算法攻关部cnt: 51495
关于网站改版