Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

Compare 2 arrays and fill 1 or 2

Language: Editor: Layout:
+ ] Show input
Absolute running time: 0.12 sec, cpu time: 0.11 sec, memory peak: 15 Mb, absolute service time: 0,12 sec 
edit mode |  history  | discussion
[ 1, 1, 1, 2, 2 ]
[ 2, 1, 1, 2, 2 ]