Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

JS - check 2 arrays, add 1 or 2, logical operations

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