410806: GYM104118 H HIIT

Memory Limit:256 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

H. HIITtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputExamplesInput
4 6
1 5 2 1
3 7 3 4
Output
1021
Input
5 44
14 11 12 15 8
15 18 17 18 16
Output
20201
Input
5 15
1 2 3 4 5
2 3 4 5 6
Output
11111
Input
5 99
100 101 102 103 104
105 106 107 108 109
Output
00000

加入题单

上一题 下一题 算法标签: