410801: GYM104118 C Conform Conforme

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

Description

C. Conform Conformetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputExamplesInput
8 1
2 7 1 8 2 8 1 8
Output
2 1 2 3 2 3 2 3 
Input
7 2
6 7 8 8 8 9 9
Output
2 2 3 3 3 2 2 

加入题单

上一题 下一题 算法标签: