id
stringlengths 64
64
| train
listlengths 5
5
| query
listlengths 5
21
| solution
listlengths 5
21
|
|---|---|---|---|
6782720c3e19128f7ac925045d03885143acb99ac4c146dabe345b995d8a511c
|
[
{
"input": [
0,
1,
3,
0,
2,
1,
0,
2
],
"output": [
0,
1,
1,
2,
0,
0,
0,
1
]
},
{
"input": [
1,
0,
3,
2,
0,
3,
3,
1
],
"output": [
1,
1,
2,
2,
2,
3,
3,
2
]
},
{
"input": [
3,
0,
3,
1,
0,
3,
2,
0
],
"output": [
2,
3,
1,
1,
1,
2,
2,
2
]
},
{
"input": [
0,
2,
1,
0,
2,
2,
0,
2
],
"output": [
2,
0,
0,
0,
1,
1,
1,
2
]
},
{
"input": [
0,
1,
2,
0,
1,
3,
0,
2
],
"output": [
1,
0,
0,
0,
1,
1,
2,
0
]
}
] |
[
3,
3,
1,
0,
1,
1,
3,
0
] |
[
3,
3,
1,
1,
1,
2,
1,
3
] |
2fc7b83676242463c1c022f53abdccd063483127b2551cd50516b84b23feb24f
|
[
{
"input": [
1,
0,
0,
0,
0,
0,
1,
1,
0,
0,
0,
0,
1
],
"output": [
1,
1,
1,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0
]
},
{
"input": [
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
1
],
"output": [
0,
1,
0,
0,
0,
1,
0,
1,
1,
1,
1,
1,
1
]
},
{
"input": [
0,
0,
0,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1
],
"output": [
1,
0,
1,
0,
0,
0,
1,
1,
0,
0,
0,
1,
0
]
},
{
"input": [
1,
1,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0
],
"output": [
0,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
0
]
},
{
"input": [
1,
1,
1,
0,
1,
0,
0,
0,
0,
0,
0,
0,
1
],
"output": [
0,
0,
0,
0,
1,
0,
1,
1,
1,
1,
0,
1,
0
]
}
] |
[
0,
0,
0,
1,
0,
1,
1,
1,
1,
1,
1,
0,
0
] |
[
1,
1,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
1
] |
474c33cf6bf2560c1ff46a1769a6204a2fd1a86128592ec4bca438a19870ab63
|
[
{
"input": [
0,
3,
1,
0,
3,
2,
0,
3,
3,
1,
1,
1,
2
],
"output": [
2,
1,
1,
0,
0,
0,
0,
0,
0,
3,
2,
1,
0
]
},
{
"input": [
1,
3,
0,
2,
1,
0,
2,
2,
0,
2,
3,
0,
3
],
"output": [
1,
1,
0,
0,
2,
0,
0,
0,
0,
0,
0,
2,
1
]
},
{
"input": [
3,
1,
3,
2,
1,
3,
3,
2,
2,
2,
3,
2,
3
],
"output": [
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
3,
1
]
},
{
"input": [
0,
0,
0,
1,
0,
0,
2,
0,
0,
3,
0,
1,
1
],
"output": [
0,
3,
0,
0,
0,
0,
0,
0,
0,
2,
0,
0,
0
]
},
{
"input": [
0,
1,
2,
0,
1,
3,
0,
2,
1,
0,
2,
2,
0
],
"output": [
0,
2,
0,
0,
1,
1,
0,
0,
2,
0,
0,
0,
0
]
}
] |
[
2,
3,
3,
3,
1,
0,
2,
3,
2,
2,
3,
2,
3
] |
[
3,
1,
2,
0,
1,
0,
0,
0,
0,
0,
0,
3,
0
] |
41fee1fb6212a8c46d5cef9e8baa0ab998400740f4f61eac16f98d5417b0252a
|
[
{
"input": [
1,
0,
0,
2,
2,
3,
2,
2,
2,
2,
3,
1,
3
],
"output": [
3,
1,
3,
2,
0,
0,
0,
2,
2,
0,
2,
0,
3
]
},
{
"input": [
2,
3,
2,
2,
2,
2,
3,
1,
3,
1,
1,
2,
3
],
"output": [
0,
0,
0,
2,
2,
0,
2,
0,
3,
3,
2,
2,
3
]
},
{
"input": [
3,
3,
1,
3,
2,
0,
0,
0,
2,
2,
0,
2,
0
],
"output": [
2,
0,
0,
2,
3,
3,
0,
3,
2,
2,
2,
3,
3
]
},
{
"input": [
2,
2,
2,
2,
0,
0,
2,
2,
3,
2,
3,
2,
3
],
"output": [
3,
2,
2,
2,
3,
3,
2,
0,
0,
1,
0,
1,
0
]
},
{
"input": [
0,
1,
2,
1,
0,
2,
2,
3,
2,
0,
0,
0,
2
],
"output": [
1,
1,
2,
1,
1,
2,
0,
0,
3,
3,
0,
3,
3
]
}
] |
[
1,
1,
1,
0,
0,
0,
0,
2,
3,
3,
2,
2,
3
] |
[
1,
1,
3,
1,
0,
0,
3,
3,
1,
1,
0,
0,
2
] |
6b5ce8886be0e0860d9dd72df8635e5d1e94b95aac8042b668b96d1eee270232
|
[
{
"input": [
0,
3,
0,
3,
2,
2,
0,
0
],
"output": [
3,
0,
3,
3,
2,
0,
0,
0
]
},
{
"input": [
3,
2,
2,
2,
3,
2,
3,
3
],
"output": [
3,
2,
2,
2,
3,
2,
3,
3
]
},
{
"input": [
0,
2,
1,
0,
2,
2,
0,
2
],
"output": [
3,
0,
0,
3,
0,
0,
3,
0
]
},
{
"input": [
0,
3,
2,
2,
0,
0,
0,
3
],
"output": [
3,
3,
2,
0,
0,
0,
3,
0
]
},
{
"input": [
3,
3,
3,
3,
3,
3,
3,
3
],
"output": [
3,
3,
3,
3,
3,
3,
3,
3
]
}
] |
[
3,
2,
1,
3,
3,
2,
2,
2
] |
[
3,
2,
0,
3,
3,
2,
2,
2
] |
cba74b8f5fa234ca884c6be291e3bde949cfa72cec0424c47a6e65e2c10d7f46
|
[
{
"input": [
4,
1,
1,
5,
1,
2,
2,
1,
2
],
"output": [
4,
4,
4,
5,
4,
5,
5,
4,
5
]
},
{
"input": [
0,
3,
3,
0,
3,
4,
0,
3,
5
],
"output": [
0,
2,
2,
0,
1,
4,
0,
1,
5
]
},
{
"input": [
0,
1,
2,
0,
1,
3,
0,
1,
4
],
"output": [
0,
0,
4,
0,
0,
2,
0,
4,
4
]
},
{
"input": [
2,
3,
1,
2,
4,
1,
2,
5,
1
],
"output": [
5,
2,
4,
5,
4,
4,
5,
5,
4
]
},
{
"input": [
0,
0,
2,
0,
0,
3,
0,
0,
4
],
"output": [
0,
0,
4,
0,
0,
2,
0,
0,
4
]
}
] |
[
3,
1,
2,
1,
2,
3,
3,
0,
1
] |
[
2,
4,
4,
4,
5,
1,
2,
0,
0
] |
ec459c4de1d417827da6287c3a778481750f31dd6fe8ee9c443575d11bbb3d75
|
[
{
"input": [
3,
3,
3,
0,
0,
0,
1,
0,
0,
2,
0,
0,
3
],
"output": [
3,
3,
3,
0,
0,
0,
3,
0,
0,
3,
0,
0,
2
]
},
{
"input": [
3,
1,
0,
3,
2,
0,
3,
3,
1,
1,
1,
2,
1
],
"output": [
2,
1,
0,
2,
1,
0,
3,
3,
1,
3,
1,
3,
1
]
},
{
"input": [
0,
2,
0,
0,
3,
0,
1,
1,
0,
1,
2,
0,
1
],
"output": [
0,
3,
0,
0,
2,
0,
3,
3,
0,
3,
3,
0,
1
]
},
{
"input": [
0,
3,
3,
1,
1,
1,
2,
1,
1,
3,
1,
2,
2
],
"output": [
0,
3,
3,
1,
3,
1,
3,
1,
1,
2,
1,
1,
1
]
},
{
"input": [
2,
2,
2,
3,
2,
3,
3,
3,
0,
0,
0,
1,
0
],
"output": [
1,
1,
1,
3,
1,
3,
3,
3,
0,
0,
0,
3,
0
]
}
] |
[
2,
2,
2,
2,
2,
0,
3,
2,
3,
0,
2,
0,
1
] |
[
1,
1,
1,
1,
3,
0,
2,
1,
2,
0,
3,
0,
3
] |
79aa8fb9af991820158e9cafac36aec9729b303f4ca5f03b6758b922b8ad624a
|
[
{
"input": [
0,
0,
0,
0,
0,
1,
0,
2,
2,
1
],
"output": [
0,
0,
0,
0,
1,
0,
2,
1,
0,
1
]
},
{
"input": [
1,
1,
1,
0,
0,
0,
1,
1,
1,
1
],
"output": [
2,
1,
0,
1,
1,
1,
2,
1,
1,
2
]
},
{
"input": [
2,
1,
0,
1,
0,
0,
0,
1,
1,
1
],
"output": [
0,
1,
0,
0,
1,
1,
1,
2,
1,
0
]
},
{
"input": [
0,
0,
1,
0,
0,
2,
1,
0,
0,
1
],
"output": [
1,
1,
0,
1,
1,
1,
1,
1,
1,
2
]
},
{
"input": [
2,
2,
1,
1,
1,
0,
1,
1,
2,
1
],
"output": [
0,
0,
1,
0,
2,
2,
1,
0,
0,
0
]
}
] |
[
0,
0,
0,
1,
2,
1,
0,
0,
0,
1
] |
[
0,
0,
1,
0,
0,
1,
1,
1,
1,
0
] |
f6823a4cb2073c428e4803bbab061df33c6e21195bbe53a35f1da21c99ca03d0
|
[
{
"input": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2,
2,
0,
2,
3
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
0,
3,
2
]
},
{
"input": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
0,
0,
0
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2,
2,
0,
0,
0
]
},
{
"input": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
}
] |
[
0,
0,
0,
0,
0,
0,
0,
0,
2,
2,
0,
2,
3,
0,
0,
0,
0
] |
[
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
0,
3,
2,
0,
0,
0,
0
] |
7abe743fefa7d2b533a784d0b38e318c21e9730c82367b17aac9a5cc87d1447a
|
[
{
"input": [
1,
2,
0,
0,
2,
2,
1,
0,
0,
2,
2,
2,
0,
1,
0
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
2,
2,
0,
0,
1,
0
]
},
{
"input": [
0,
1,
0,
2,
0,
0,
1,
1,
1,
0,
0,
1,
1,
2,
0
],
"output": [
0,
1,
0,
0,
0,
0,
1,
1,
1,
0,
0,
1,
1,
2,
0
]
},
{
"input": [
2,
1,
2,
2,
2,
2,
2,
0,
0,
0,
0,
0,
1,
0,
0
],
"output": [
2,
1,
0,
0,
0,
2,
2,
0,
0,
1,
0,
0,
0,
0,
0
]
},
{
"input": [
1,
1,
2,
2,
0,
1,
2,
0,
2,
0,
1,
2,
1,
1,
0
],
"output": [
0,
0,
2,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
2,
0,
0,
1,
1,
1,
0,
0,
1,
1,
2,
0,
0,
1,
2
],
"output": [
0,
0,
0,
1,
1,
1,
0,
0,
1,
1,
2,
0,
0,
1,
2
]
}
] |
[
0,
0,
0,
1,
2,
2,
0,
1,
0,
1,
1,
2,
0,
0,
0
] |
[
1,
0,
0,
0,
0,
2,
0,
1,
0,
0,
1,
2,
0,
0,
1
] |
bf4d87d1e0ac4b5811e4ef62070692f3e4cbc37a9d8317fdfda15dd820d950b2
|
[
{
"input": [
0,
1,
2,
0,
1,
3,
0,
2,
1,
0,
2,
2,
0
],
"output": [
3,
3,
3,
0,
3,
0,
0,
3,
3,
0,
0,
0,
0
]
},
{
"input": [
2,
1,
1,
3,
1,
2,
2,
1,
2,
3,
1,
3,
2
],
"output": [
0,
3,
0,
0,
0,
1,
1,
0,
2,
0,
0,
0,
2
]
},
{
"input": [
0,
0,
0,
1,
0,
0,
2,
0,
0,
3,
0,
1,
1
],
"output": [
0,
1,
0,
1,
0,
3,
0,
3,
0,
0,
0,
3,
3
]
},
{
"input": [
2,
0,
2,
3,
0,
3,
1,
0,
3,
2,
0,
3,
3
],
"output": [
0,
0,
1,
0,
0,
0,
3,
0,
0,
1,
0,
0,
1
]
},
{
"input": [
3,
3,
3,
0,
0,
0,
1,
0,
0,
2,
0,
0,
3
],
"output": [
0,
0,
0,
0,
1,
0,
1,
0,
3,
0,
3,
0,
0
]
}
] |
[
1,
1,
3,
1,
1,
2,
2,
3,
2,
0,
1,
0,
3
] |
[
0,
0,
0,
0,
3,
1,
0,
1,
1,
0,
1,
0,
0
] |
b612f7f4a888135bb8e5675d9a8094ecdb3e2820f0743bb52e273224df145124
|
[
{
"input": [
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
0
],
"output": [
1,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1
]
},
{
"input": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1
],
"output": [
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1
]
},
{
"input": [
0,
0,
0,
1,
1,
1,
0,
0,
0,
1,
0,
0,
1
],
"output": [
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
0,
0
]
},
{
"input": [
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1
],
"output": [
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1
]
},
{
"input": [
1,
1,
1,
1,
0,
1,
0,
0,
1,
1,
1,
1,
0
],
"output": [
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1
]
}
] |
[
1,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1
] |
[
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
0
] |
6e48303d854fa02e0944106910420873a17ecab40cb3ce0d3b8c3e9f99051ae5
|
[
{
"input": [
1,
2,
1,
1,
3,
1,
2
],
"output": [
0,
0,
0,
2,
0,
0,
0
]
},
{
"input": [
0,
3,
2,
0,
3,
3,
1
],
"output": [
0,
0,
0,
0,
0,
0,
2
]
},
{
"input": [
2,
2,
1,
2,
3,
1,
3
],
"output": [
0,
0,
2,
0,
0,
0,
0
]
},
{
"input": [
1,
2,
1,
1,
3,
1,
2
],
"output": [
0,
0,
0,
2,
0,
0,
0
]
},
{
"input": [
1,
3,
3,
2,
2,
2,
3
],
"output": [
0,
0,
0,
0,
0,
0,
0
]
}
] |
[
1,
2,
2,
3,
3,
1,
2
] |
[
2,
0,
0,
0,
0,
0,
0
] |
806200116a3c2b7c3d6598153116f3a5b614d1e54f4049b10586eece21c1969a
|
[
{
"input": [
0,
3,
1,
0,
3,
2,
0,
3
],
"output": [
2,
3,
0,
3,
3,
2,
0,
3
]
},
{
"input": [
2,
2,
2,
3,
2,
3,
3,
3
],
"output": [
0,
3,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
3,
3,
1,
1,
1,
2,
1
],
"output": [
0,
3,
3,
0,
0,
1,
0,
1
]
},
{
"input": [
0,
0,
1,
0,
0,
2,
0,
0
],
"output": [
3,
0,
2,
1,
0,
1,
2,
0
]
},
{
"input": [
0,
1,
2,
0,
1,
3,
0,
2
],
"output": [
2,
0,
1,
0,
3,
2,
2,
0
]
}
] |
[
0,
3,
3,
3,
1,
0,
0,
1
] |
[
3,
3,
0,
3,
0,
1,
0,
2
] |
c8fa1d029b2493f3082fc852215657b1d7e27e34ee0e19e3583b6c610c3af3d4
|
[
{
"input": [
0,
3,
0,
3,
0,
0,
0,
0,
0,
0,
0,
1,
0
],
"output": [
2,
1,
3,
1,
2,
3,
3,
3,
3,
3,
2,
0,
2
]
},
{
"input": [
3,
2,
1,
0,
2,
0,
0,
1,
2,
2,
3,
2,
0
],
"output": [
0,
1,
0,
2,
3,
0,
2,
0,
3,
1,
3,
3,
0
]
},
{
"input": [
0,
2,
0,
3,
3,
1,
0,
0,
1,
2,
2,
3,
3
],
"output": [
0,
3,
0,
0,
3,
0,
2,
2,
0,
3,
1,
0,
0
]
},
{
"input": [
1,
0,
3,
2,
0,
3,
3,
1,
1,
1,
2,
1,
1
],
"output": [
0,
3,
0,
3,
0,
0,
3,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
2,
0,
2,
3,
2,
0,
3,
2,
1,
0,
0,
3
],
"output": [
0,
3,
3,
3,
3,
3,
0,
0,
1,
0,
2,
2,
1
]
}
] |
[
2,
2,
1,
0,
0,
0,
0,
2,
0,
2,
3,
2,
0
] |
[
3,
3,
0,
2,
3,
3,
0,
3,
3,
3,
3,
3,
0
] |
7f8561d807248dbb11c2ead58e68536613137870167f6cd381a19db408e9ae01
|
[
{
"input": [
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
1,
1,
0
],
"output": [
0,
0,
0,
0,
0,
0,
0,
1,
1,
1,
1,
1,
1
]
},
{
"input": [
0,
1,
0,
0,
1,
1,
1,
1,
1,
0,
1,
0,
1
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0
]
},
{
"input": [
1,
1,
1,
1,
0,
0,
1,
0,
0,
1,
1,
0,
0
],
"output": [
0,
0,
0,
0,
0,
1,
1,
1,
1,
1,
1,
1,
0
]
},
{
"input": [
0,
1,
1,
0,
1,
0,
0,
0,
1,
1,
1,
1,
0
],
"output": [
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
1,
0,
1,
1,
1,
0,
0,
1,
1,
0,
1,
1
],
"output": [
1,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0
]
}
] |
[
1,
0,
0,
0,
0,
1,
0,
0,
1,
1,
1,
1,
0
] |
[
1,
1,
1,
1,
0,
1,
1,
0,
0,
0,
0,
0,
0
] |
d62d1e8750802eb0df12a24cf42baae8314ab7041cc44028b88212c8a96c1152
|
[
{
"input": [
1,
0,
3,
2,
0,
3,
3
],
"output": [
3,
3,
0,
0,
0,
0,
2
]
},
{
"input": [
3,
0,
0,
0,
1,
0,
0
],
"output": [
0,
3,
3,
3,
3,
3,
1
]
},
{
"input": [
0,
2,
0,
0,
3,
0,
1
],
"output": [
1,
1,
1,
3,
3,
3,
1
]
},
{
"input": [
3,
3,
1,
1,
1,
2,
1
],
"output": [
0,
2,
0,
3,
3,
3,
3
]
},
{
"input": [
2,
2,
3,
2,
3,
3,
3
],
"output": [
0,
2,
2,
1,
1,
1,
0
]
}
] |
[
3,
2,
0,
0,
0,
0,
3
] |
[
1,
0,
1,
3,
3,
3,
0
] |
00cc2a91fd3aa30722d4da14cd24271da5694c65145fbaf88562e9e567b80660
|
[
{
"input": [
1,
0,
1,
0,
1,
0,
0,
1,
0,
1,
1,
1,
0
],
"output": [
0,
0,
0,
0,
0,
0,
0,
1,
1,
1,
1,
1,
0
]
},
{
"input": [
1,
1,
0,
0,
1,
1,
0,
1,
1,
0,
0,
1,
1
],
"output": [
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1
]
},
{
"input": [
1,
1,
0,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
1,
1,
0
],
"output": [
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
1,
0,
1,
0,
0,
1,
1,
1,
1,
1,
0,
1,
0
],
"output": [
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
1,
1
]
}
] |
[
1,
1,
0,
1,
1,
0,
1,
0,
1,
1,
1,
0,
0
] |
[
1,
1,
1,
0,
1,
1,
0,
0,
1,
1,
1,
0,
1
] |
401dd92bef297e6c0a01c1cd89a694ed15b7be6b8e25514efcde92380d68fcf1
|
[
{
"input": [
2,
0,
3,
3,
1
],
"output": [
0,
0,
1,
0,
0
]
},
{
"input": [
1,
1,
2,
1,
1
],
"output": [
1,
0,
0,
0,
0
]
},
{
"input": [
2,
3,
0,
3,
1
],
"output": [
0,
3,
0,
0,
0
]
},
{
"input": [
3,
3,
1,
1,
1
],
"output": [
1,
0,
0,
1,
0
]
},
{
"input": [
3,
3,
1,
1,
1
],
"output": [
1,
0,
0,
1,
0
]
}
] |
[
3,
1,
1,
2,
0
] |
[
0,
0,
0,
0,
0
] |
939b984c5e38ff9c87199941ed0577f40338bc4e30261cbdadedf5cb90b69118
|
[
{
"input": [
3,
1,
4,
4,
2,
2,
2,
3,
2,
2,
4,
2,
3,
3,
2
],
"output": [
0,
1,
2,
0,
2,
4,
4,
0,
4,
2,
2,
0,
0,
0,
2
]
},
{
"input": [
0,
0,
4,
0,
1,
1,
0,
1,
2,
0,
1,
3,
0,
1,
4
],
"output": [
4,
0,
1,
0,
0,
0,
0,
2,
2,
4,
0,
0,
0,
3,
0
]
},
{
"input": [
3,
4,
3,
4,
4,
4,
0,
0,
0,
1,
0,
0,
2,
0,
0
],
"output": [
3,
0,
4,
0,
4,
2,
0,
3,
0,
4,
0,
0,
2,
0,
4
]
},
{
"input": [
4,
3,
2,
4,
4,
3,
3,
3,
4,
3,
4,
4,
4,
0,
0
],
"output": [
2,
0,
0,
0,
0,
3,
0,
3,
0,
4,
0,
4,
2,
0,
3
]
},
{
"input": [
4,
1,
4,
2,
1,
4,
3,
1,
4,
4,
2,
2,
2,
3,
2
],
"output": [
2,
0,
0,
4,
3,
2,
0,
1,
2,
0,
2,
4,
4,
0,
4
]
}
] |
[
0,
4,
0,
4,
2,
2,
3,
2,
2,
0,
0,
0,
1,
4,
4
] |
[
3,
1,
3,
0,
2,
4,
0,
4,
0,
0,
3,
0,
3,
2,
2
] |
0177925d8b5df1e047e7f9f6d7ef879e8fdeb4ec969d43b83564c8f8a4a7c6ee
|
[
{
"input": [
0,
2,
0,
0,
0
],
"output": [
0,
1,
0,
0,
3
]
},
{
"input": [
0,
0,
3,
2,
1
],
"output": [
0,
3,
2,
0,
0
]
},
{
"input": [
2,
0,
3,
0,
3
],
"output": [
1,
2,
1,
0,
0
]
},
{
"input": [
3,
0,
0,
0,
0
],
"output": [
0,
0,
0,
0,
3
]
},
{
"input": [
0,
1,
0,
0,
3
],
"output": [
0,
0,
3,
3,
0
]
}
] |
[
0,
2,
0,
3,
2
] |
[
0,
1,
2,
2,
2
] |
869de5a6eb18af5c9f27f04bc5afecd3e7034a66419daed45b536587b62ed8c7
|
[
{
"input": [
0,
3,
0,
0,
0
],
"output": [
1,
3,
3,
1,
1
]
},
{
"input": [
1,
1,
3,
3,
0
],
"output": [
0,
0,
0,
0,
3
]
},
{
"input": [
0,
0,
0,
0,
3
],
"output": [
1,
1,
1,
3,
3
]
},
{
"input": [
1,
1,
2,
1,
1
],
"output": [
0,
1,
2,
1,
0
]
},
{
"input": [
3,
0,
0,
0,
3
],
"output": [
3,
3,
1,
3,
0
]
}
] |
[
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
3
] |
f2256b6239d0df7a278cb7c2d533af95deadb1b6c3c9975efb867ec52eaef904
|
[
{
"input": [
1,
1,
1,
0,
0,
1,
1,
0,
1,
1,
0,
0,
1
],
"output": [
0,
0,
0,
0,
1,
0,
0,
1,
0,
0,
1,
0,
0
]
},
{
"input": [
0,
1,
1,
0,
1,
0,
1,
1,
1,
1,
0,
1,
1
],
"output": [
1,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
0,
0
],
"output": [
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
1
]
},
{
"input": [
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
1,
1,
0
],
"output": [
0,
0,
0,
0,
0,
0,
0,
1,
1,
1,
1,
1,
1
]
},
{
"input": [
0,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
1
],
"output": [
0,
0,
1,
0,
1,
0,
0,
1,
0,
0,
0,
0,
0
]
}
] |
[
1,
1,
0,
1,
1,
0,
0,
1,
1,
0,
1,
1,
1
] |
[
0,
0,
0,
0,
0,
1,
1,
0,
0,
0,
0,
0,
0
] |
63a63635b4ad1b77c99813aec449cbbc467b0b82c9f07f7efada994dec173223
|
[
{
"input": [
2,
2,
1,
2,
3,
1,
3,
2,
1,
3
],
"output": [
0,
0,
0,
0,
0,
3,
0,
0,
0,
3
]
},
{
"input": [
0,
0,
3,
0,
1,
1,
0,
1,
2,
0
],
"output": [
3,
0,
0,
0,
3,
3,
3,
0,
0,
0
]
},
{
"input": [
3,
0,
0,
0,
1,
0,
0,
2,
0,
0
],
"output": [
0,
0,
1,
3,
3,
3,
3,
3,
3,
0
]
},
{
"input": [
1,
1,
0,
1,
2,
0,
1,
3,
0,
2
],
"output": [
3,
3,
3,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
2,
3,
0,
3,
1,
0,
3,
2,
0
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
}
] |
[
1,
1,
0,
1,
1,
1,
3,
2,
2,
2
] |
[
0,
3,
3,
3,
0,
0,
0,
3,
0,
0
] |
f4257dc2d249329e03d006ea9092c19799b1283736e9190365f292ed87b1d95a
|
[
{
"input": [
3,
0,
3,
4,
0,
3,
3,
3,
4,
1,
4,
4,
3,
0,
3,
0,
2
],
"output": [
0,
0,
3,
3,
3,
0,
0,
2,
3,
0,
0,
0,
3,
0,
2,
4,
1
]
},
{
"input": [
4,
1,
1,
2,
4,
1,
4,
0,
4,
0,
2,
1,
4,
3,
3,
3,
0
],
"output": [
3,
0,
1,
3,
3,
0,
4,
3,
1,
0,
2,
3,
3,
2,
0,
0,
0
]
},
{
"input": [
3,
3,
1,
1,
2,
1,
3,
0,
1,
1,
1,
3,
4,
0,
4,
3,
3
],
"output": [
3,
3,
4,
1,
1,
0,
1,
1,
1,
2,
4,
3,
3,
3,
3,
2,
0
]
},
{
"input": [
1,
3,
0,
2,
0,
0,
3,
4,
1,
1,
2,
1,
0,
3,
3,
0,
3
],
"output": [
0,
1,
4,
1,
1,
2,
3,
3,
0,
1,
1,
2,
1,
0,
0,
0,
2
]
},
{
"input": [
0,
0,
0,
0,
2,
1,
2,
1,
2,
0,
0,
4,
3,
1,
2,
3,
0
],
"output": [
1,
4,
4,
1,
2,
4,
1,
4,
2,
1,
1,
3,
3,
0,
0,
4,
3
]
}
] |
[
3,
0,
3,
3,
3,
3,
3,
0,
3,
3,
3,
0,
0,
2,
0,
0,
0
] |
[
4,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2,
1,
1,
1,
4,
1
] |
f9102719bfce343a2e5a60807aca685f979f4f3ede48a30da13b26411bca8ba3
|
[
{
"input": [
1,
3,
0,
1,
4,
0,
2,
1,
0,
2,
2,
0,
2,
3,
0,
2
],
"output": [
0,
0,
0,
0,
0,
4,
4,
4,
4,
0,
0,
0,
0,
0,
0,
4
]
},
{
"input": [
2,
1,
2,
3,
1,
2,
4,
1,
3,
2,
1,
3,
3,
1,
3,
4
],
"output": [
0,
0,
4,
4,
4,
3,
3,
3,
4,
4,
4,
3,
3,
3,
3,
3
]
},
{
"input": [
1,
4,
1,
2,
2,
1,
2,
3,
1,
2,
4,
1,
3,
2,
1,
3
],
"output": [
4,
4,
3,
0,
0,
0,
4,
4,
4,
3,
3,
3,
4,
4,
4,
3
]
},
{
"input": [
4,
2,
4,
3,
2,
4,
4,
3,
3,
3,
4,
3,
4,
4,
4,
0
],
"output": [
4,
2,
4,
4,
4,
2,
2,
2,
4,
2,
2,
2,
2,
2,
3,
0
]
},
{
"input": [
3,
0,
0,
4,
0,
1,
1,
0,
1,
2,
0,
1,
3,
0,
1,
4
],
"output": [
4,
4,
0,
0,
0,
1,
1,
1,
4,
4,
4,
0,
0,
0,
0,
0
]
}
] |
[
4,
1,
1,
1,
2,
4,
4,
1,
4,
0,
4,
0,
2,
2,
3,
1
] |
[
4,
4,
4,
0,
3,
2,
4,
4,
0,
3,
0,
4,
0,
3,
4,
3
] |
7e0265ee122f3905c46081f321c1c2e710b6d718e015a1653e48ea43b54085bd
|
[
{
"input": [
3,
1,
4,
4,
2,
2,
2,
3,
2,
2,
4,
2,
3,
3,
2,
3,
4
],
"output": [
0,
0,
0,
0,
1,
0,
0,
0,
0,
1,
4,
2,
0,
0,
1,
1,
0
]
},
{
"input": [
0,
4,
4,
1,
1,
1,
2,
1,
1,
3,
1,
1,
4,
1,
2,
2,
1
],
"output": [
0,
4,
0,
0,
3,
0,
3,
0,
0,
0,
0,
0,
0,
0,
4,
4,
0
]
},
{
"input": [
0,
3,
2,
0,
3,
3,
0,
3,
4,
0,
4,
1,
0,
4,
2,
0,
4
],
"output": [
0,
0,
4,
4,
0,
0,
0,
0,
0,
1,
0,
0,
4,
0,
0,
0,
0
]
},
{
"input": [
1,
1,
0,
1,
2,
0,
1,
3,
0,
1,
4,
0,
2,
1,
0,
2,
2
],
"output": [
2,
2,
1,
3,
0,
0,
0,
3,
0,
0,
0,
0,
0,
3,
0,
3,
3
]
},
{
"input": [
1,
4,
1,
2,
2,
1,
2,
3,
1,
2,
4,
1,
3,
2,
1,
3,
3
],
"output": [
0,
0,
0,
4,
4,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
}
] |
[
4,
0,
0,
1,
0,
3,
1,
3,
2,
0,
3,
3,
3,
1,
1,
3,
1
] |
[
0,
0,
0,
0,
0,
3,
0,
0,
4,
4,
0,
1,
0,
0,
0,
0,
0
] |
f8cf45fcbf873e9c6a838957aa518f107eff51a8e49883fd6e54d00a074f84f2
|
[
{
"input": [
2,
1,
2,
3,
1
],
"output": [
0,
1,
0,
0,
1
]
},
{
"input": [
3,
1,
2,
2,
1
],
"output": [
0,
1,
0,
0,
1
]
},
{
"input": [
2,
2,
0,
2,
3
],
"output": [
0,
0,
2,
0,
0
]
},
{
"input": [
2,
0,
3,
3,
1
],
"output": [
0,
2,
0,
0,
1
]
},
{
"input": [
1,
0,
1,
2,
0
],
"output": [
2,
1,
2,
0,
1
]
}
] |
[
0,
2,
2,
1,
2
] |
[
2,
0,
0,
1,
0
] |
5f5bd3007771196390403250e1277c16e87f286a35ce2439df7cc13bc63c38cf
|
[
{
"input": [
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2,
0,
0,
0,
1,
1,
0,
0,
0,
1
],
"output": [
0,
0,
0,
0,
1,
0,
1,
2,
0,
2,
0,
0,
2,
0,
0,
0,
0,
0,
0,
2
]
},
{
"input": [
0,
0,
1,
0,
1,
1,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"output": [
0,
1,
0,
0,
0,
0,
0,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
2,
2,
0,
1,
2,
0,
2,
0,
1,
2,
1,
1,
0,
1,
2,
1,
2,
0,
1,
2
],
"output": [
0,
1,
2,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
1,
2,
0,
0,
0,
0,
1,
0,
1,
2,
0,
0,
0,
0,
0,
2,
0,
0,
0,
0
],
"output": [
2,
1,
2,
0,
0,
1,
0,
0,
2,
1,
2,
0,
0,
0,
2,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2,
0,
0,
2,
1
],
"output": [
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2,
0,
0,
0,
1,
0
]
}
] |
[
0,
2,
0,
1,
2,
0,
0,
1,
0,
1,
2,
0,
0,
0,
0,
0,
0,
1,
0,
0
] |
[
2,
0,
0,
2,
1,
0,
0,
0,
0,
2,
1,
2,
0,
0,
0,
0,
1,
0,
1,
2
] |
9dfe760a7edf6fda897e8da41b21c6f87646cb568f8bed2123652455f719b945
|
[
{
"input": [
0,
0,
0,
0,
1,
1,
0,
0,
0,
1,
0,
1,
0
],
"output": [
1,
0,
0,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1
]
},
{
"input": [
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
0
],
"output": [
1,
1,
0,
1,
0,
1,
0,
0,
1,
1,
0,
1,
0
]
},
{
"input": [
1,
0,
1,
0,
0,
0,
0,
1,
1,
1,
0,
0,
0
],
"output": [
1,
1,
1,
0,
1,
0,
0,
1,
1,
0,
1,
1,
1
]
},
{
"input": [
0,
1,
0,
1,
0,
1,
1,
0,
0,
1,
1,
0,
1
],
"output": [
1,
0,
0,
1,
1,
0,
0,
1,
1,
0,
1,
1,
1
]
},
{
"input": [
0,
1,
0,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1
],
"output": [
0,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1
]
}
] |
[
1,
0,
1,
1,
0,
0,
0,
0,
1,
1,
0,
1,
0
] |
[
1,
1,
1,
1,
0,
0,
0,
0,
1,
1,
0,
0,
0
] |
271a13d783586b8c57eeb9a3b489d78c397b9a3e254343e54c1e44eff46e066e
|
[
{
"input": [
1,
0,
0,
1,
0,
1,
1,
1,
0,
0,
1,
0,
0,
0,
1,
0,
1,
0
],
"output": [
1,
1,
0,
0,
0,
1,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
1,
0
]
},
{
"input": [
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
0,
0,
1,
1,
1,
1,
1,
1
],
"output": [
0,
1,
0,
1,
0,
1,
0,
1,
1,
0,
0,
1,
1,
0,
1,
0,
0,
0
]
},
{
"input": [
1,
0,
1,
1,
1,
0,
0,
1,
0,
1,
0,
1,
0,
0,
1,
1,
0,
1
],
"output": [
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
0,
0,
1,
1,
1,
1,
1,
1
]
},
{
"input": [
0,
0,
1,
0,
1,
0,
0,
0,
0,
1,
1,
1,
1,
1,
0,
0,
1,
1
],
"output": [
0,
1,
0,
1,
1,
0,
1,
1,
0,
0,
0,
0,
1,
1,
0,
1,
1,
0
]
},
{
"input": [
0,
0,
1,
0,
1,
0,
1,
1,
1,
0,
0,
1,
0,
0,
0,
1,
1,
1
],
"output": [
1,
0,
1,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
1,
0,
1,
0
]
}
] |
[
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
0,
1,
0,
1,
0,
0,
0
] |
[
1,
0,
1,
1,
0,
1,
0,
1,
0,
0,
1,
0,
1,
1,
1,
0,
0,
1
] |
212ed1c5f3c7a8672da6687e944144098958e7639fc0ea5caa1f06eb005f079c
|
[
{
"input": [
0,
0,
0,
1,
0,
0,
2,
0,
0,
3,
0,
1,
1
],
"output": [
3,
0,
0,
0,
0,
2,
2,
2,
3,
3,
3,
2,
2
]
},
{
"input": [
2,
0,
1,
3,
0,
2,
1,
0,
2,
2,
0,
2,
3
],
"output": [
3,
3,
3,
3,
1,
3,
3,
3,
3,
3,
3,
1,
1
]
},
{
"input": [
3,
0,
3,
1,
0,
3,
2,
0,
3,
3,
1,
1,
1
],
"output": [
1,
3,
3,
3,
3,
1,
1,
1,
3,
2,
1,
3,
3
]
},
{
"input": [
3,
1,
3,
2,
1,
3,
3,
2,
2,
2,
3,
2,
3
],
"output": [
3,
2,
3,
3,
3,
2,
1,
2,
3,
2,
2,
1,
1
]
},
{
"input": [
3,
2,
3,
3,
3,
0,
0,
0,
1,
0,
0,
2,
0
],
"output": [
2,
1,
1,
2,
3,
3,
0,
0,
0,
0,
2,
2,
2
]
}
] |
[
3,
0,
3,
1,
3,
2,
3,
1,
3,
3,
2,
1,
0
] |
[
3,
3,
3,
2,
3,
1,
3,
2,
2,
1,
3,
3,
3
] |
affaba3c9e986aa89c2f2802acc37c94c76d513afd98ce9a0b37af8e6024bba6
|
[
{
"input": [
2,
1,
3,
3,
2,
2,
2
],
"output": [
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
1,
1,
3,
1,
2,
2,
1
],
"output": [
0,
2,
3,
0,
0,
0,
2
]
},
{
"input": [
2,
3,
3,
3,
0,
0,
0
],
"output": [
2,
0,
0,
0,
2,
0,
3
]
},
{
"input": [
2,
3,
1,
3,
2,
1,
3
],
"output": [
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
1,
1,
3,
1,
2,
2,
1
],
"output": [
0,
2,
3,
0,
0,
0,
2
]
}
] |
[
1,
2,
3,
1,
3,
3,
3
] |
[
0,
0,
0,
0,
0,
0,
0
] |
ce18baf5157f3288e0c14d70c0cd30846c12caf6d30e8b5896ca6cf1594abda1
|
[
{
"input": [
0,
0,
0,
0,
0,
0,
0,
2,
0
],
"output": [
0,
0,
0,
0,
0,
0,
0,
2,
0
]
},
{
"input": [
0,
0,
0,
0,
0,
2,
2,
0,
1
],
"output": [
0,
0,
0,
0,
2,
2,
0,
0,
0
]
},
{
"input": [
2,
0,
0,
0,
0,
0,
0,
0,
2
],
"output": [
0,
1,
0,
0,
0,
0,
0,
2,
2
]
},
{
"input": [
0,
0,
0,
0,
2,
0,
0,
0,
0
],
"output": [
0,
0,
0,
0,
2,
0,
0,
0,
0
]
},
{
"input": [
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
2
]
}
] |
[
0,
0,
0,
0,
2,
2,
0,
0,
0
] |
[
0,
0,
0,
2,
2,
0,
1,
0,
0
] |
e6a9035926cf0ff8227863c28c05b0e307d192d9ff065f6a7fdb3e312c95c45e
|
[
{
"input": [
5,
5,
0,
2,
0,
2,
0,
2,
0,
2,
0
],
"output": [
3,
3,
2,
0,
2,
0,
2,
0,
2,
0,
2
]
},
{
"input": [
0,
2,
0,
2,
0,
2,
0,
2,
0,
3,
3
],
"output": [
2,
0,
2,
0,
2,
0,
2,
0,
2,
0,
3
]
},
{
"input": [
3,
2,
0,
2,
0,
2,
0,
2,
0,
2,
0
],
"output": [
3,
0,
2,
0,
2,
0,
2,
0,
2,
0,
2
]
},
{
"input": [
5,
2,
1,
3,
2,
3,
3,
0,
0,
5,
0
],
"output": [
1,
2,
5,
0,
2,
3,
0,
5,
2,
1,
2
]
},
{
"input": [
3,
3,
2,
3,
3,
2,
3,
3,
3,
3,
3
],
"output": [
3,
3,
2,
3,
3,
2,
3,
3,
3,
3,
3
]
}
] |
[
0,
2,
0,
2,
0,
2,
0,
2,
0,
2,
0
] |
[
2,
0,
2,
0,
2,
0,
2,
0,
2,
0,
2
] |
d36732e6ed1d6cb649b701d2dd094578871c27ceb750d7fd2123650c96538feb
|
[
{
"input": [
0,
1,
1,
1,
1,
1,
0,
1,
0,
0,
0,
1,
0,
0,
0,
1
],
"output": [
1,
1,
0,
1,
0,
1,
1,
1,
0,
1,
0,
0,
0,
1,
0,
0
]
},
{
"input": [
1,
0,
0,
0,
1,
0,
0,
0,
1,
1,
1,
0,
0,
0,
0,
0
],
"output": [
0,
0,
1,
0,
0,
0,
1,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
{
"input": [
0,
0,
0,
1,
1,
1,
0,
0,
0,
1,
0,
0,
0,
1,
0,
0
],
"output": [
0,
1,
0,
0,
0,
0,
0,
1,
0,
0,
0,
1,
0,
0,
0,
1
]
},
{
"input": [
1,
1,
1,
0,
1,
1,
1,
0,
0,
1,
1,
1,
1,
0,
1,
1
],
"output": [
0,
0,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
1,
1,
1,
0
]
},
{
"input": [
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1
],
"output": [
1,
0,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
0,
0
]
}
] |
[
1,
1,
0,
0,
0,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
1
] |
[
0,
0,
0,
1,
0,
0,
0,
1,
1,
1,
0,
0,
0,
1,
0,
1
] |
8a056ebbf2e085bd392a0ddc8743cb88b93bda7cca4cf940306e64638527f4b1
|
[
{
"input": [
1,
0,
0,
5,
5
],
"output": [
3,
5,
2,
2,
2
]
},
{
"input": [
3,
5,
0,
2,
3
],
"output": [
0,
1,
2,
2,
1
]
},
{
"input": [
0,
0,
2,
0,
0
],
"output": [
5,
4,
4,
4,
4
]
},
{
"input": [
2,
0,
3,
2,
2
],
"output": [
3,
2,
2,
2,
3
]
},
{
"input": [
3,
5,
2,
3,
2
],
"output": [
0,
2,
2,
2,
3
]
}
] |
[
3,
1,
0,
0,
2
] |
[
3,
3,
5,
4,
3
] |
c27234a1ba5c8ec7ac9091d14de91c4c4c2bb168d13c9683eb6f1a33e08f5e18
|
[
{
"input": [
1,
0,
0,
2,
0,
0,
3,
0,
0,
4,
0
],
"output": [
2,
4,
0,
0,
0,
0,
0,
0,
0,
2,
0
]
},
{
"input": [
0,
0,
0,
0,
4,
2,
4,
0,
0,
4,
2
],
"output": [
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
1
]
},
{
"input": [
0,
0,
5,
0,
1,
1,
0,
1,
2,
0,
1
],
"output": [
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
4,
1,
0,
0,
0,
0,
0,
0,
0,
4,
0
],
"output": [
0,
4,
4,
0,
0,
0,
0,
0,
0,
2,
0
]
},
{
"input": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
}
] |
[
0,
2,
4,
0,
4,
2,
4,
0,
0,
0,
0
] |
[
0,
1,
0,
0,
0,
1,
0,
0,
0,
0,
4
] |
fd9aa514830854e2a9a4a182da9a923e5533fd1bf698765821b6c9e9c76d3521
|
[
{
"input": [
1,
2,
1,
3,
3,
1,
3,
2,
1,
3
],
"output": [
2,
1,
1,
3,
3,
2,
1,
0,
1,
1
]
},
{
"input": [
2,
1,
2,
1,
3,
3,
1,
3,
2,
1
],
"output": [
1,
2,
1,
1,
3,
3,
2,
1,
0,
1
]
},
{
"input": [
2,
2,
3,
2,
3,
3,
3,
0,
0,
0
],
"output": [
0,
3,
3,
2,
3,
2,
1,
2,
2,
0
]
},
{
"input": [
2,
2,
2,
3,
0,
0,
0,
3,
3,
1
],
"output": [
3,
0,
3,
0,
2,
2,
2,
1,
3,
2
]
},
{
"input": [
3,
1,
3,
2,
1,
3,
0,
3,
1,
2
],
"output": [
3,
2,
1,
0,
1,
1,
3,
1,
1,
1
]
}
] |
[
2,
1,
2,
1,
2,
3,
1,
2,
2,
1
] |
[
0,
2,
1,
2,
0,
1,
1,
0,
0,
3
] |
1adf61093d3603c79dbe7bd5c6aadd967c7ee4632020d9f76d9bfa00d6062899
|
[
{
"input": [
2,
2,
2,
3,
3,
3,
2,
2,
2,
2,
2,
2,
2,
2
],
"output": [
1,
1,
1,
2,
3,
2,
1,
1,
1,
1,
1,
1,
1,
1
]
},
{
"input": [
2,
2,
1,
1,
1,
1,
1,
2,
2,
2,
1,
2,
2,
2
],
"output": [
1,
2,
2,
2,
2,
2,
2,
2,
1,
2,
2,
2,
1,
1
]
},
{
"input": [
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
1
],
"output": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
2,
2
]
},
{
"input": [
2,
2,
2,
2,
1,
2,
2,
2,
1,
1,
1,
1,
1,
1
],
"output": [
1,
1,
1,
2,
2,
2,
1,
2,
2,
2,
2,
2,
2,
2
]
},
{
"input": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
2,
2,
2,
1,
1
],
"output": [
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
1,
2,
2,
2
]
}
] |
[
1,
1,
1,
1,
1,
1,
2,
2,
2,
2,
2,
1,
2,
2
] |
[
2,
2,
2,
2,
2,
2,
2,
1,
1,
1,
2,
2,
2,
1
] |
98b63531628fda9c27ec82f41e2cbde2258e2ee3f665d3dd9134f3c938acd3e8
|
[
{
"input": [
0,
0,
1,
1,
1,
0,
0,
0,
1,
0,
0,
1,
0
],
"output": [
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1
]
},
{
"input": [
1,
0,
1,
1,
0,
0,
1,
1,
1,
0,
1,
0,
0
],
"output": [
0,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1
]
},
{
"input": [
0,
1,
0,
0,
0,
1,
0,
1,
1,
0,
0,
0,
1
],
"output": [
1,
0,
1,
1,
0,
1,
1,
1,
1,
0,
0,
1,
0
]
},
{
"input": [
1,
1,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0
],
"output": [
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
0,
1,
0
]
},
{
"input": [
1,
1,
1,
0,
0,
0,
1,
0,
0,
1,
0,
0,
0
],
"output": [
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
0
]
}
] |
[
1,
1,
0,
0,
1,
1,
1,
0,
0,
0,
1,
0,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0
] |
11e5d0599c3cc9409bcfba077453945cf5b878988e1e588b732ac95142f8f668
|
[
{
"input": [
2,
3,
2,
2,
4,
2,
3,
3,
2,
3,
4,
2,
4,
3,
2,
4
],
"output": [
4,
1,
0,
3,
1,
1,
1,
3,
0,
3,
4,
2,
2,
0,
0,
1
]
},
{
"input": [
0,
3,
3,
0,
3,
4,
0,
4,
1,
0,
4,
2,
0,
4,
3,
0
],
"output": [
4,
0,
0,
1,
1,
2,
0,
4,
1,
0,
1,
0,
4,
0,
2,
4
]
},
{
"input": [
0,
3,
4,
0,
4,
1,
0,
4,
2,
0,
4,
3,
0,
4,
4,
1
],
"output": [
1,
1,
2,
0,
4,
1,
0,
1,
0,
4,
0,
2,
4,
4,
3,
2
]
},
{
"input": [
4,
4,
1,
1,
1,
2,
1,
1,
3,
1,
1,
4,
1,
2,
2,
1
],
"output": [
4,
3,
2,
3,
0,
2,
0,
0,
2,
3,
1,
0,
3,
1,
2,
3
]
},
{
"input": [
3,
1,
4,
4,
2,
2,
2,
3,
2,
2,
4,
2,
3,
3,
2,
3
],
"output": [
1,
3,
2,
3,
1,
0,
4,
1,
0,
3,
1,
1,
1,
3,
0,
3
]
}
] |
[
3,
4,
0,
0,
3,
2,
4,
0,
0,
3,
3,
4,
2,
4,
3,
2
] |
[
3,
2,
0,
0,
2,
0,
0,
0,
0,
0,
1,
4,
2,
2,
0,
0
] |
f19dfb73327a4463886df7a68469b26dc7c0a87b1e759537b802c491d705607a
|
[
{
"input": [
0,
2,
0,
3,
3,
0,
0,
0,
0,
1,
0,
3,
4,
3,
1,
3
],
"output": [
0,
4,
0,
0,
3,
3,
0,
0,
1,
0,
3,
0,
1,
4,
2,
1
]
},
{
"input": [
0,
0,
0,
4,
4,
4,
0,
0,
2,
0,
3,
3,
0,
0,
1,
3
],
"output": [
0,
0,
0,
4,
2,
0,
0,
0,
4,
0,
0,
3,
3,
1,
2,
3
]
},
{
"input": [
0,
0,
2,
0,
0,
3,
0,
0,
4,
0,
1,
1,
0,
1,
2,
0
],
"output": [
1,
0,
4,
0,
2,
4,
3,
0,
0,
1,
3,
0,
3,
3,
3,
0
]
},
{
"input": [
3,
3,
4,
1,
0,
4,
4,
0,
1,
3,
1,
1,
4,
1,
4,
4
],
"output": [
3,
0,
2,
0,
4,
4,
0,
1,
2,
0,
3,
3,
3,
4,
2,
4
]
},
{
"input": [
3,
1,
0,
3,
3,
0,
3,
0,
0,
3,
4,
1,
0,
1,
2,
0
],
"output": [
4,
0,
3,
0,
3,
3,
4,
3,
2,
0,
2,
0,
3,
3,
3,
0
]
}
] |
[
0,
0,
0,
0,
0,
1,
0,
3,
4,
2,
4,
0,
4,
0,
0,
4
] |
[
3,
0,
0,
0,
1,
0,
3,
0,
0,
3,
3,
0,
0,
0,
0,
4
] |
2d6a1ff998b7f6b0ea230187f00c5ab58b0ca2d2ea7493f82b493cd7067dd6db
|
[
{
"input": [
4,
3,
3,
3,
4,
3
],
"output": [
1,
2,
1,
2,
2,
1
]
},
{
"input": [
3,
4,
1,
4,
2,
1
],
"output": [
2,
2,
1,
2,
2,
2
]
},
{
"input": [
3,
2,
0,
3,
3,
0
],
"output": [
3,
3,
3,
1,
1,
1
]
},
{
"input": [
4,
0,
0,
0,
1,
0
],
"output": [
2,
1,
3,
2,
2,
2
]
},
{
"input": [
3,
3,
2,
3,
4,
2
],
"output": [
2,
2,
2,
1,
1,
2
]
}
] |
[
3,
0,
3,
3,
4,
1
] |
[
1,
1,
1,
2,
2,
2
] |
bfa6e82d84f66fe8d642d9fafef0278cd6b0c00de7132530d6265953e7369084
|
[
{
"input": [
1,
3,
2,
1,
3
],
"output": [
1,
0,
0,
2,
0
]
},
{
"input": [
3,
2,
3,
3,
3
],
"output": [
0,
0,
2,
0,
0
]
},
{
"input": [
2,
1,
3,
3,
2
],
"output": [
0,
2,
0,
2,
0
]
},
{
"input": [
0,
0,
2,
0,
0
],
"output": [
0,
0,
0,
0,
1
]
},
{
"input": [
1,
1,
1,
2,
1
],
"output": [
0,
0,
0,
0,
0
]
}
] |
[
2,
3,
3,
2,
1
] |
[
0,
2,
2,
0,
0
] |
4b3557b50b48d388a59e4ea86cbf83682f517029d2ea773b3b262eb8acf77b80
|
[
{
"input": [
4,
2,
2,
2,
3,
2,
2,
4,
2
],
"output": [
0,
3,
0,
0,
0,
0,
3,
3,
1
]
},
{
"input": [
1,
0,
3,
2,
0,
3,
3,
0,
3
],
"output": [
0,
0,
4,
2,
2,
4,
4,
2,
0
]
},
{
"input": [
0,
4,
1,
0,
4,
2,
0,
4,
3
],
"output": [
0,
0,
3,
2,
1,
0,
2,
0,
0
]
},
{
"input": [
4,
3,
0,
4,
4,
1,
1,
1,
2
],
"output": [
0,
0,
4,
3,
1,
1,
3,
0,
3
]
},
{
"input": [
0,
2,
2,
0,
2,
3,
0,
2,
4
],
"output": [
0,
3,
3,
0,
2,
4,
2,
0,
1
]
}
] |
[
4,
4,
3,
2,
2,
4,
3,
2,
0
] |
[
3,
2,
3,
0,
3,
1,
3,
2,
2
] |
1c861af496ffe721045316c29a78bd1d3ee7f9f2d29624d82d359b73ba1e6398
|
[
{
"input": [
1,
0,
0,
1,
1,
1,
0,
1,
0,
0,
1,
1,
1
],
"output": [
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
0,
0,
1
]
},
{
"input": [
1,
0,
0,
1,
0,
1,
0,
0,
1,
0,
0,
1,
0
],
"output": [
1,
0,
1,
0,
0,
1,
0,
0,
1,
0,
0,
1,
0
]
},
{
"input": [
1,
0,
0,
1,
1,
0,
0,
0,
1,
0,
0,
0,
0
],
"output": [
1,
1,
0,
0,
0,
0,
1,
0,
1,
0,
1,
0,
1
]
},
{
"input": [
1,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
1,
0
],
"output": [
0,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
0
]
},
{
"input": [
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
1,
0
],
"output": [
0,
0,
0,
0,
0,
1,
0,
1,
0,
0,
0,
1,
0
]
}
] |
[
1,
0,
0,
0,
0,
0,
0,
1,
0,
1,
0,
0,
1
] |
[
1,
0,
1,
0,
1,
0,
0,
0,
0,
1,
0,
0,
1
] |
09cbb87aa33fbe4a390266a10e3aa178c5159eb2aaff8797c8dc3959067ff6a4
|
[
{
"input": [
3,
3,
3,
2,
2,
1,
1,
0,
3,
0,
2,
2,
2
],
"output": [
0,
1,
1,
0,
0,
2,
2,
2,
1,
0,
2,
3,
3
]
},
{
"input": [
2,
2,
3,
3,
0,
2,
0,
0,
2,
1,
2,
3,
3
],
"output": [
3,
0,
1,
3,
0,
2,
2,
2,
1,
0,
3,
1,
3
]
},
{
"input": [
2,
1,
1,
3,
1,
2,
2,
1,
2,
3,
1,
3,
2
],
"output": [
2,
2,
0,
0,
3,
0,
0,
0,
3,
3,
0,
3,
3
]
},
{
"input": [
1,
1,
3,
3,
3,
2,
2,
1,
1,
0,
3,
0,
2
],
"output": [
2,
0,
0,
1,
1,
0,
0,
2,
2,
2,
1,
0,
2
]
},
{
"input": [
1,
0,
3,
0,
1,
2,
2,
2,
2,
2,
3,
3,
0
],
"output": [
1,
2,
1,
2,
1,
0,
3,
3,
3,
0,
1,
3,
0
]
}
] |
[
3,
3,
0,
2,
1,
2,
0,
2,
1,
2,
1,
2,
0
] |
[
3,
3,
0,
1,
0,
1,
2,
1,
0,
2,
0,
1,
0
] |
69926873c59696dfaa8a5abda39e581358f2fb4f12bfbb5ad7abf77fdaebeeca
|
[
{
"input": [
3,
1,
1,
3,
1,
2,
2,
3,
0,
0,
3,
2,
0
],
"output": [
1,
3,
3,
3,
1,
3,
2,
3,
0,
0,
3,
3,
2
]
},
{
"input": [
1,
1,
2,
1,
3,
3,
2,
3,
1,
1,
3,
1,
2
],
"output": [
2,
2,
2,
1,
2,
2,
2,
1,
3,
3,
3,
1,
3
]
},
{
"input": [
3,
0,
0,
0,
1,
0,
0,
2,
0,
0,
3,
0,
1
],
"output": [
1,
0,
3,
0,
0,
0,
2,
2,
2,
0,
0,
2,
2
]
},
{
"input": [
3,
1,
2,
0,
2,
0,
3,
3,
1,
1,
1,
3,
2
],
"output": [
2,
1,
0,
2,
2,
3,
1,
2,
3,
0,
3,
1,
2
]
},
{
"input": [
0,
2,
2,
3,
2,
3,
2,
1,
2,
2,
2,
3,
2
],
"output": [
2,
2,
2,
2,
2,
2,
1,
3,
3,
1,
2,
2,
2
]
}
] |
[
1,
1,
2,
1,
1,
3,
1,
2,
2,
1,
2,
3,
1
] |
[
0,
2,
2,
2,
3,
3,
1,
3,
3,
3,
1,
1,
2
] |
234c236320911e4dc78ef2ddd48b4040fc4c51379e33396f55a8f763ee4e22bb
|
[
{
"input": [
4,
0,
1,
1,
0,
1,
2,
0,
1,
3,
0,
1,
4,
0,
2
],
"output": [
0,
2,
3,
2,
0,
0,
3,
0,
0,
2,
0,
4,
0,
0,
0
]
},
{
"input": [
1,
4,
3,
1,
4,
4,
2,
2,
2,
3,
2,
2,
4,
2,
3
],
"output": [
0,
4,
2,
2,
0,
1,
0,
0,
3,
4,
1,
0,
0,
0,
0
]
},
{
"input": [
4,
3,
2,
4,
4,
3,
3,
3,
4,
3,
4,
4,
4,
0,
0
],
"output": [
0,
0,
0,
0,
0,
2,
0,
0,
0,
2,
0,
4,
0,
0,
0
]
},
{
"input": [
4,
1,
3,
2,
1,
3,
3,
1,
3,
4,
1,
4,
2,
1,
4
],
"output": [
0,
3,
0,
0,
2,
3,
3,
0,
0,
2,
0,
0,
0,
0,
4
]
},
{
"input": [
2,
3,
4,
2,
4,
3,
2,
4,
4,
3,
3,
3,
4,
3,
4
],
"output": [
0,
1,
0,
1,
0,
0,
0,
0,
0,
2,
0,
0,
0,
2,
0
]
}
] |
[
2,
0,
1,
3,
3,
4,
1,
2,
3,
4,
1,
4,
3,
2,
3
] |
[
0,
0,
0,
3,
0,
2,
0,
0,
1,
2,
0,
4,
0,
0,
4
] |
756efc3f2f3ef39808d43015cfffe0f40d07963800d1086b483f6b35e658f5af
|
[
{
"input": [
0,
5,
4,
0,
5,
5,
1,
1,
1,
2,
1,
1,
3,
1,
1,
4,
1,
1,
5,
1,
2
],
"output": [
0,
0,
0,
0,
0,
1,
0,
0,
3,
1,
3,
3,
3,
3,
5,
0,
5,
0,
0,
3,
3
]
},
{
"input": [
0,
0,
0,
5,
0,
0,
5,
1,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
1
],
"output": [
1,
1,
0,
5,
0,
0,
1,
5,
0,
1,
1,
1,
1,
0,
0,
0,
1,
1,
1,
0,
0
]
},
{
"input": [
1,
5,
0,
5,
0,
1,
1,
1,
1,
1,
0,
0,
0,
0,
1,
1,
1,
0,
5,
1,
0
],
"output": [
5,
1,
3,
5,
0,
0,
0,
0,
0,
0,
0,
1,
1,
0,
0,
0,
0,
0,
1,
5,
0
]
},
{
"input": [
1,
1,
0,
1,
5,
0,
1,
0,
0,
1,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
1
],
"output": [
0,
0,
0,
5,
1,
0,
0,
0,
0,
0,
0,
1,
1,
1,
1,
0,
0,
0,
1,
0,
0
]
},
{
"input": [
0,
0,
0,
0,
0,
1,
1,
1,
0,
5,
0,
0,
0,
5,
1,
0,
0,
1,
1,
1,
1
],
"output": [
1,
1,
1,
1,
0,
0,
0,
0,
0,
5,
0,
1,
0,
1,
5,
0,
0,
0,
0,
0,
0
]
}
] |
[
0,
0,
0,
1,
1,
1,
0,
5,
1,
0,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
0,
0,
0,
0,
0,
1,
5,
0,
0,
0,
0,
0,
0,
0,
1,
1,
1,
1,
1
] |
fd8f756d2d39c2848b4a6c9e5d526ec87e71fdc9449d36198eec2b8b6b1c5747
|
[
{
"input": [
3,
3,
1,
1,
1,
2,
1,
1,
3,
1,
2,
2,
1
],
"output": [
0,
0,
0,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
2,
2,
1,
2,
3,
1,
3,
2,
1,
3,
3,
2,
2
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
2,
0,
3,
3,
1,
1,
1,
2,
1,
1,
3,
1,
2
],
"output": [
0,
0,
0,
0,
0,
2,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
3,
1,
1,
1,
2,
1,
1,
3,
1,
2,
2,
1,
2
],
"output": [
0,
0,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
3,
0,
0,
0,
1,
0,
0,
2,
0,
0,
3,
0,
1
],
"output": [
0,
3,
0,
0,
0,
0,
0,
0,
0,
3,
0,
0,
2
]
}
] |
[
0,
3,
0,
2,
3,
1,
3,
2,
1,
2,
3,
1,
1
] |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2
] |
1e8e3666c6e7927694f547f6c36d2923b48172bf87038bf3a6590c5f492abd31
|
[
{
"input": [
0,
3,
0,
0,
4,
0,
1,
1,
0,
1,
2,
0,
1,
3
],
"output": [
0,
0,
0,
0,
2,
0,
1,
1,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
2,
3,
2,
2,
4,
2,
3,
3,
2,
3,
4,
2,
4,
3
],
"output": [
0,
0,
0,
0,
0,
0,
2,
2,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
4,
4,
3,
3,
3,
4,
3,
4,
4,
4,
0,
0,
0,
1
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
1,
0,
0,
2,
0,
0,
3,
0,
0,
4,
0,
1,
1
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2,
0,
1,
1
]
},
{
"input": [
2,
1,
0,
2,
2,
0,
2,
3,
0,
2,
4,
0,
3,
1
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
}
] |
[
4,
3,
3,
0,
0,
0,
0,
1,
3,
4,
2,
4,
0,
1
] |
[
0,
0,
2,
0,
0,
0,
0,
0,
2,
0,
0,
0,
0,
4
] |
f2f1cf9706d557cbb2e15e49dedab31d973eb2d6f16eef45b619971a56d7e9df
|
[
{
"input": [
2,
0,
0,
2,
2,
0,
0,
1,
0,
1,
2,
2,
3,
0
],
"output": [
2,
0,
3,
1,
3,
0,
2,
1,
1,
0,
3,
1,
1,
1
]
},
{
"input": [
2,
0,
2,
0,
1,
1,
1,
1,
1,
2,
0,
3,
0,
1
],
"output": [
2,
2,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1
]
},
{
"input": [
1,
1,
2,
0,
3,
0,
1,
0,
2,
0,
3,
2,
2,
2
],
"output": [
0,
0,
0,
0,
0,
1,
1,
0,
2,
0,
2,
0,
2,
2
]
},
{
"input": [
2,
2,
0,
2,
2,
0,
3,
2,
0,
3,
2,
0,
2,
0
],
"output": [
0,
3,
2,
1,
3,
0,
2,
2,
0,
2,
2,
2,
2,
2
]
},
{
"input": [
2,
2,
2,
3,
2,
1,
2,
3,
0,
2,
1,
1,
0,
3
],
"output": [
2,
2,
1,
0,
2,
2,
1,
1,
3,
0,
2,
1,
0,
3
]
}
] |
[
2,
2,
2,
2,
2,
1,
3,
2,
2,
0,
1,
3,
2,
0
] |
[
1,
2,
2,
2,
0,
0,
2,
0,
3,
0,
0,
2,
2,
0
] |
636b8b68e2fb239746730995959405afcb34f85b112627d2e1942682a1f201e5
|
[
{
"input": [
0,
0,
3,
3,
3,
3,
0,
0,
3
],
"output": [
5,
5,
3,
3,
3,
3,
5,
5,
3
]
},
{
"input": [
3,
3,
2,
3,
3,
3,
2,
3,
2
],
"output": [
3,
3,
0,
3,
3,
3,
0,
3,
0
]
},
{
"input": [
0,
5,
0,
5,
3,
3,
3,
3,
0
],
"output": [
5,
3,
5,
3,
3,
3,
3,
3,
5
]
},
{
"input": [
5,
5,
0,
5,
5,
0,
5,
3,
3
],
"output": [
3,
3,
5,
3,
3,
5,
3,
3,
3
]
},
{
"input": [
3,
3,
2,
3,
3,
3,
3,
3,
3
],
"output": [
3,
3,
0,
3,
3,
3,
3,
3,
3
]
}
] |
[
3,
3,
2,
3,
3,
2,
3,
3,
3
] |
[
3,
3,
0,
3,
3,
0,
3,
3,
3
] |
b6fc8bd1b6276f9a5942d2021de4e37385e8d1758ef2c84808608622dfcfffd6
|
[
{
"input": [
3,
0,
2,
1,
0,
2,
2,
0,
2,
3,
0,
3,
1,
0
],
"output": [
0,
0,
0,
0,
0,
2,
2,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
1,
1,
1,
2,
1,
1,
3,
1,
2,
2,
1,
2,
3,
1
],
"output": [
0,
0,
0,
2,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0
]
},
{
"input": [
0,
0,
3,
0,
1,
1,
0,
1,
2,
0,
1,
3,
0,
2
],
"output": [
0,
0,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
3,
1,
0,
3,
2,
0,
3,
3,
1,
1,
1,
2,
1
],
"output": [
0,
0,
0,
0,
0,
0,
0,
1,
2,
0,
0,
0,
2,
0
]
},
{
"input": [
1,
2,
2,
1,
2,
3,
1,
3,
2,
1,
3,
3,
2,
2
],
"output": [
0,
0,
0,
0,
0,
1,
0,
1,
0,
0,
2,
0,
0,
0
]
}
] |
[
2,
0,
0,
2,
0,
2,
0,
2,
0,
1,
1,
2,
3,
2
] |
[
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2,
0
] |
6cd2ffa9272a8aa0b7fe3eb16a2c4ae0c2dea50a10f272407268fc474aaa9de6
|
[
{
"input": [
5,
5,
5,
2,
5,
5,
0,
5,
5,
5,
0,
0
],
"output": [
3,
0,
1,
2,
1,
3,
2,
3,
0,
3,
5,
5
]
},
{
"input": [
0,
2,
5,
2,
5,
2,
5,
3,
0,
3,
5,
3
],
"output": [
0,
0,
0,
2,
0,
2,
3,
5,
3,
5,
0,
0
]
},
{
"input": [
0,
3,
5,
5,
0,
0,
5,
0,
2,
5,
2,
5
],
"output": [
3,
5,
0,
3,
5,
5,
5,
3,
0,
0,
2,
1
]
},
{
"input": [
4,
5,
3,
5,
4,
3,
5,
5,
4,
4,
4,
5
],
"output": [
0,
1,
0,
1,
0,
2,
0,
4,
4,
0,
4,
0
]
},
{
"input": [
2,
2,
0,
2,
5,
3,
0,
3,
5,
2,
5,
5
],
"output": [
2,
2,
1,
0,
3,
5,
3,
5,
3,
2,
1,
3
]
}
] |
[
0,
5,
0,
0,
5,
5,
2,
5,
2,
3,
0,
0
] |
[
2,
5,
5,
5,
3,
1,
2,
0,
3,
0,
0,
0
] |
f25cd5203ba39e246579ae5ad86eabab26fc879f99e3f9a0d73ca79707dbd58b
|
[
{
"input": [
2,
2,
2,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
],
"output": [
1,
1,
1,
1,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
]
},
{
"input": [
3,
1,
0,
3,
2,
0,
3,
3,
0,
3,
4,
0,
4,
1
],
"output": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
3,
3,
2,
1,
1
]
},
{
"input": [
1,
1,
1,
1,
1,
1,
1,
1,
3,
3,
1,
1,
1,
3
],
"output": [
2,
2,
2,
2,
2,
2,
2,
1,
3,
3,
1,
2,
1,
3
]
},
{
"input": [
3,
3,
1,
2,
1,
3,
3,
1,
2,
1,
1,
1,
1,
1
],
"output": [
3,
3,
1,
1,
1,
3,
3,
1,
1,
1,
2,
2,
2,
2
]
},
{
"input": [
2,
1,
1,
1,
1,
1,
2,
1,
1,
1,
1,
2,
2,
2
],
"output": [
1,
1,
2,
2,
2,
1,
1,
1,
2,
2,
1,
1,
1,
1
]
}
] |
[
2,
2,
1,
1,
1,
2,
2,
2,
2,
2,
2,
2,
2,
2
] |
[
1,
1,
1,
2,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
9f87bea902cb6e8611bc2dfdf98b7d67aa5720b9be167aad259ebbc11d04fb7d
|
[
{
"input": [
0,
0,
2,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
1,
0
],
"output": [
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
2,
2,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2,
0,
0
],
"output": [
0,
0,
0,
0,
0,
0,
0,
2,
0,
0,
1,
0,
0,
0,
0
]
},
{
"input": [
0,
0,
0,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"output": [
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
0,
0,
2,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0
],
"output": [
0,
1,
0,
0,
0,
2,
2,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"output": [
0,
0,
0,
0,
0,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
}
] |
[
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
1,
0
] |
[
0,
0,
0,
0,
0,
2,
0,
0,
0,
0,
0,
0,
0,
2,
0
] |
c1be7a8c66c5ba3d7fce6a57c3053670891b620dd027a72ebe647808cf274e48
|
[
{
"input": [
0,
0,
0,
0,
0,
0
],
"output": [
0,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
0,
0,
0,
0,
0
],
"output": [
0,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
0,
0,
0,
0,
0
],
"output": [
0,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
0,
0,
0,
0,
0
],
"output": [
0,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
0,
0,
0,
0,
0
],
"output": [
0,
0,
0,
0,
0,
0
]
}
] |
[
2,
0,
0,
0,
0,
0
] |
[
1,
0,
0,
0,
0,
0
] |
2910a21a2d8b357acc120d730e59e1a82d2cd612c1e467fde6061ae35201d0b0
|
[
{
"input": [
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0
],
"output": [
1,
1,
0,
0,
1,
0,
0,
1,
0,
0,
1,
0,
1,
1,
1,
0,
1,
1
]
},
{
"input": [
0,
1,
0,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1
],
"output": [
1,
1,
0,
0,
0,
0,
1,
1,
1,
1,
1,
0,
0,
1,
0,
0,
1,
0
]
},
{
"input": [
0,
1,
0,
1,
1,
0,
0,
0,
1,
1,
0,
1,
0,
0,
0,
1,
1,
1
],
"output": [
0,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
0,
0,
0,
0
]
},
{
"input": [
1,
0,
1,
0,
0,
0,
0,
1,
1,
1,
0,
0,
0,
1,
0,
0,
1,
0
],
"output": [
1,
1,
1,
0,
1,
0,
0,
1,
1,
1,
1,
0,
1,
0,
0,
1,
1,
0
]
},
{
"input": [
0,
0,
1,
0,
0,
0,
0,
0,
1,
1,
0,
0,
0,
0,
1,
0,
1,
0
],
"output": [
0,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0
]
}
] |
[
0,
0,
1,
0,
0,
0,
1,
0,
0,
0,
1,
1,
0,
1,
1,
1,
0,
0
] |
[
0,
1,
1,
0,
0,
1,
1,
0,
0,
1,
1,
1,
1,
0,
0,
1,
1,
1
] |
d8818c5a90529c90a717c7b4239bb7c8cd9b227919586129fab92f8ab866cb84
|
[
{
"input": [
2,
2,
0,
1,
1,
0,
2,
0,
1,
1,
1
],
"output": [
0,
0,
1,
0,
0,
1,
0,
1,
0,
0,
0
]
},
{
"input": [
0,
1,
2,
2,
2,
0,
2,
0,
2,
1,
0
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1
]
},
{
"input": [
2,
0,
2,
1,
0,
2,
0,
2,
2,
0,
2
],
"output": [
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
0,
2,
1,
1,
2,
0,
2,
1,
2,
1,
0
],
"output": [
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1
]
},
{
"input": [
2,
1,
2,
1,
2,
2,
1,
2,
2,
2,
2
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
}
] |
[
2,
2,
2,
2,
1,
1,
0,
2,
0,
2,
1
] |
[
0,
0,
0,
0,
1,
0,
1,
0,
0,
0,
0
] |
7af36cb2df56bde599cd6875db8e431aaca5fd50b3d2d516e8198aa04058f852
|
[
{
"input": [
2,
2,
1,
2,
3,
1,
3,
2,
1,
3,
3,
2,
2,
2
],
"output": [
0,
0,
2,
1,
2,
0,
2,
1,
0,
2,
3,
1,
1,
1
]
},
{
"input": [
3,
3,
2,
2,
2,
3,
2,
3,
3,
3,
0,
0,
0,
1
],
"output": [
2,
3,
1,
1,
1,
2,
3,
3,
0,
2,
1,
0,
0,
3
]
},
{
"input": [
3,
3,
1,
1,
1,
2,
1,
1,
3,
1,
2,
2,
1,
2
],
"output": [
2,
2,
2,
2,
2,
3,
2,
2,
2,
0,
0,
0,
2,
1
]
},
{
"input": [
3,
1,
2,
2,
1,
2,
3,
1,
3,
2,
1,
3,
3,
2
],
"output": [
2,
0,
0,
0,
2,
1,
2,
0,
2,
1,
0,
2,
3,
1
]
},
{
"input": [
3,
0,
1,
1,
0,
1,
2,
0,
1,
3,
0,
2,
1,
0
],
"output": [
1,
0,
0,
0,
0,
2,
0,
1,
2,
0,
0,
0,
2,
1
]
}
] |
[
3,
3,
3,
2,
1,
1,
0,
1,
3,
3,
2,
1,
1,
0
] |
[
2,
0,
3,
1,
2,
0,
0,
2,
2,
3,
1,
2,
0,
0
] |
6f0d4853b11a2ac7bcb9a2182ef7719bdc1d5ae0e36f87166ef214875b9e4826
|
[
{
"input": [
1,
1,
2,
1,
1,
3,
1,
2,
2,
1
],
"output": [
3,
3,
1,
0,
1,
0,
0,
0,
0,
0
]
},
{
"input": [
3,
2,
1,
3,
3,
2,
2,
2,
3,
2
],
"output": [
0,
0,
0,
0,
0,
0,
2,
0,
3,
2
]
},
{
"input": [
2,
0,
0,
3,
0,
1,
1,
0,
1,
2
],
"output": [
0,
0,
1,
0,
1,
2,
2,
2,
0,
1
]
},
{
"input": [
3,
1,
0,
3,
2,
0,
3,
3,
1,
1
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
3
]
},
{
"input": [
3,
0,
0,
0,
1,
0,
0,
2,
0,
0
],
"output": [
0,
0,
3,
0,
1,
0,
0,
0,
0,
1
]
}
] |
[
3,
2,
1,
3,
0,
0,
1,
2,
2,
0
] |
[
0,
0,
0,
2,
0,
0,
0,
0,
0,
0
] |
51b6bce7b6a6f18a6a4a4ceeaf5cef9859c5b30a15e4901f3de56a8aa765a0a1
|
[
{
"input": [
1,
1,
1,
1,
1,
0,
0,
1,
0,
0,
1,
0,
0,
1
],
"output": [
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
1,
0,
0,
1
]
},
{
"input": [
0,
0,
0,
0,
0,
0,
1,
1,
0,
0,
1,
1,
0,
0
],
"output": [
1,
1,
1,
1,
0,
0,
1,
1,
0,
0,
1,
1,
0,
0
]
},
{
"input": [
0,
1,
1,
2,
0,
0,
0,
0,
0,
0,
1,
0,
0,
1
],
"output": [
0,
0,
0,
2,
0,
0,
1,
1,
0,
0,
1,
0,
0,
0
]
},
{
"input": [
0,
0,
0,
0,
1,
1,
1,
0,
0,
0,
0,
0,
0,
1
],
"output": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
0,
0,
1
]
},
{
"input": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1
],
"output": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
1
]
}
] |
[
0,
1,
1,
0,
0,
1,
1,
1,
0,
0,
1,
0,
0,
1
] |
[
0,
1,
1,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
1
] |
51c44e21a7a521379a515083eb1f68e52d83f475957a41aaf44e62e0f44f5ace
|
[
{
"input": [
1,
4,
1,
4,
1,
1,
3
],
"output": [
4,
2,
4,
2,
2,
4,
3
]
},
{
"input": [
4,
1,
2,
4,
3,
4,
3
],
"output": [
4,
1,
1,
4,
2,
4,
1
]
},
{
"input": [
4,
4,
1,
4,
1,
1,
1
],
"output": [
3,
4,
4,
2,
2,
0,
2
]
},
{
"input": [
4,
2,
2,
4,
3,
3,
3
],
"output": [
1,
1,
1,
4,
4,
4,
4
]
},
{
"input": [
2,
4,
0,
0,
0,
2,
1
],
"output": [
1,
2,
3,
2,
2,
0,
3
]
}
] |
[
4,
1,
4,
1,
1,
4,
3
] |
[
2,
4,
2,
2,
2,
1,
4
] |
fb8525d69855635f187c76951d53e2db353986f7b062230376d2b305a5763a60
|
[
{
"input": [
2,
2,
1,
1,
3
],
"output": [
1,
3,
1,
3,
2
]
},
{
"input": [
1,
1,
2,
2,
2
],
"output": [
3,
1,
3,
1,
2
]
},
{
"input": [
1,
1,
1,
4,
1
],
"output": [
0,
0,
1,
1,
3
]
},
{
"input": [
4,
0,
3,
1,
0
],
"output": [
1,
2,
1,
1,
1
]
},
{
"input": [
1,
3,
3,
1,
0
],
"output": [
1,
2,
2,
1,
1
]
}
] |
[
4,
1,
2,
2,
1
] |
[
1,
2,
3,
3,
3
] |
b1020334932bc89cbafedfed955d6ef5d7b2110854cba63c357cf359e6018713
|
[
{
"input": [
1,
1,
1,
2,
1
],
"output": [
3,
3,
2,
2,
2
]
},
{
"input": [
1,
3,
1,
1,
1
],
"output": [
1,
3,
3,
3,
3
]
},
{
"input": [
1,
1,
3,
2,
3
],
"output": [
3,
3,
1,
2,
1
]
},
{
"input": [
0,
0,
0,
1,
0
],
"output": [
3,
2,
1,
1,
1
]
},
{
"input": [
3,
2,
3,
3,
1
],
"output": [
1,
2,
2,
2,
1
]
}
] |
[
1,
1,
1,
3,
3
] |
[
2,
3,
3,
2,
0
] |
f7116e48bf6603a15552f4e43f9ad897cfdd1c1df967e410969cc7a7d45eecb0
|
[
{
"input": [
0,
2,
3,
0,
3,
1,
0,
3,
2,
0,
3,
3,
1
],
"output": [
3,
2,
3,
1,
3,
1,
3,
3,
2,
2,
2,
0,
2
]
},
{
"input": [
2,
2,
0,
3,
2,
3,
2,
2,
1,
0,
3,
3,
1
],
"output": [
0,
0,
2,
3,
1,
0,
2,
2,
1,
3,
2,
0,
1
]
},
{
"input": [
1,
1,
2,
1,
2,
3,
3,
3,
2,
3,
1,
1,
0
],
"output": [
1,
1,
0,
2,
0,
2,
1,
2,
1,
2,
2,
3,
2
]
},
{
"input": [
0,
0,
3,
2,
2,
2,
0,
3,
2,
3,
2,
2,
1
],
"output": [
2,
2,
3,
2,
0,
0,
2,
3,
1,
0,
2,
2,
1
]
},
{
"input": [
1,
1,
0,
1,
2,
0,
1,
3,
0,
2,
1,
0,
2
],
"output": [
3,
3,
1,
1,
2,
2,
1,
3,
2,
2,
1,
2,
0
]
}
] |
[
2,
1,
2,
0,
0,
3,
2,
3,
1,
3,
1,
3,
3
] |
[
2,
2,
2,
1,
2,
3,
1,
2,
2,
3,
2,
0,
2
] |
6e8a81e9f9446ca436e73c2a23573eb70bc49861dfce5295fb4e16cd676aa3d8
|
[
{
"input": [
0,
2,
3,
3,
2
],
"output": [
0,
0,
3,
3,
2
]
},
{
"input": [
0,
0,
0,
0,
2
],
"output": [
0,
0,
0,
0,
0
]
},
{
"input": [
0,
0,
0,
0,
0
],
"output": [
0,
0,
0,
0,
0
]
},
{
"input": [
0,
0,
0,
0,
0
],
"output": [
0,
0,
0,
0,
0
]
},
{
"input": [
0,
0,
0,
0,
2
],
"output": [
0,
0,
0,
0,
0
]
}
] |
[
0,
0,
2,
3,
3
] |
[
0,
0,
0,
3,
2
] |
269ea1c1816c80c5e26a584123b50b6f795dd0115c4e3043f7d6d496780c69dd
|
[
{
"input": [
2,
0,
2,
3,
0,
3,
1,
0,
3
],
"output": [
1,
1,
3,
0,
0,
0,
0,
1,
0
]
},
{
"input": [
2,
0,
3,
3,
1,
1,
1,
2,
1
],
"output": [
3,
0,
0,
0,
1,
0,
0,
1,
0
]
},
{
"input": [
0,
1,
0,
0,
2,
0,
0,
3,
0
],
"output": [
3,
0,
3,
0,
0,
0,
1,
2,
1
]
},
{
"input": [
3,
1,
1,
1,
2,
1,
1,
3,
1
],
"output": [
0,
1,
0,
0,
1,
0,
1,
0,
2
]
},
{
"input": [
1,
2,
1,
1,
3,
1,
2,
2,
1
],
"output": [
0,
1,
0,
1,
0,
2,
3,
3,
1
]
}
] |
[
0,
3,
0,
3,
3,
1,
3,
1,
2
] |
[
0,
2,
0,
0,
0,
0,
0,
2,
2
] |
96f0ad5f737d877aa52ce4302b9e534edd66a05bae668c37772f1050b20b9291
|
[
{
"input": [
0,
1,
0,
0,
2,
0,
0,
3,
0
],
"output": [
2,
2,
2,
0,
3,
0,
0,
1,
2
]
},
{
"input": [
3,
2,
0,
3,
3,
1,
1,
1,
2
],
"output": [
2,
3,
2,
3,
3,
0,
0,
1,
2
]
},
{
"input": [
3,
3,
3,
0,
0,
0,
1,
0,
0
],
"output": [
3,
1,
3,
0,
2,
2,
2,
2,
0
]
},
{
"input": [
0,
0,
1,
0,
0,
2,
0,
0,
3
],
"output": [
2,
2,
2,
2,
0,
3,
0,
0,
1
]
},
{
"input": [
1,
1,
0,
1,
2,
0,
1,
3,
0
],
"output": [
3,
3,
0,
0,
1,
0,
1,
0,
2
]
}
] |
[
3,
3,
1,
3,
1,
0,
0,
1,
0
] |
[
3,
3,
0,
2,
1,
2,
2,
2,
2
] |
0874e7aee2ea87fa05f15ae2bf22316a10cd2dc125b26c7067af9431a227e643
|
[
{
"input": [
0,
2,
1,
2,
2,
0,
2,
2,
2,
1,
4,
2,
0,
0,
2,
3,
0,
3,
3
],
"output": [
2,
0,
0,
3,
2,
2,
2,
0,
3,
5,
3,
0,
5,
5,
3,
5,
4,
0,
0
]
},
{
"input": [
3,
0,
3,
2,
0,
1,
2,
2,
2,
3,
0,
3,
2,
0,
3,
5,
3,
5,
1
],
"output": [
2,
4,
5,
3,
3,
0,
3,
0,
0,
5,
4,
5,
3,
2,
0,
2,
0,
4,
0
]
},
{
"input": [
4,
5,
0,
2,
0,
3,
0,
2,
2,
2,
4,
2,
0,
4,
2,
3,
4,
3,
0
],
"output": [
0,
4,
1,
3,
2,
0,
2,
2,
0,
4,
1,
0,
4,
1,
0,
0,
0,
2,
4
]
},
{
"input": [
4,
1,
4,
5,
2,
3,
5,
0,
3,
5,
0,
0,
4,
0,
2,
4,
2,
0,
0
],
"output": [
0,
2,
0,
2,
4,
3,
2,
2,
0,
2,
2,
2,
0,
4,
0,
1,
0,
5,
5
]
},
{
"input": [
2,
2,
5,
2,
3,
3,
2,
3,
4,
2,
3,
5,
2,
4,
3,
2,
4,
4,
2
],
"output": [
4,
0,
4,
4,
0,
0,
4,
0,
2,
0,
3,
0,
0,
2,
0,
0,
0,
0,
4
]
}
] |
[
1,
4,
2,
2,
0,
2,
0,
4,
5,
3,
2,
2,
4,
0,
2,
2,
3,
4,
2
] |
[
2,
3,
4,
2,
2,
3,
4,
2,
2,
3,
0,
4,
1,
4,
2,
0,
0,
2,
0
] |
0c809d7f518633f686c6f1f8189354146eede59a8b5469e388537792b884cc81
|
[
{
"input": [
3,
4,
3,
1,
0,
4,
2,
3,
0,
3,
4,
1,
2,
4,
1
],
"output": [
1,
0,
1,
4,
2,
3,
4,
2,
3,
1,
1,
1,
1,
1,
4
]
},
{
"input": [
1,
1,
4,
2,
4,
0,
2,
1,
1,
1,
3,
4,
3,
1,
1
],
"output": [
0,
3,
1,
0,
3,
3,
0,
4,
0,
2,
1,
0,
1,
2,
3
]
},
{
"input": [
1,
1,
0,
1,
2,
4,
4,
0,
4,
3,
1,
2,
2,
0,
3
],
"output": [
3,
3,
3,
0,
1,
0,
1,
1,
1,
1,
3,
2,
4,
2,
4
]
},
{
"input": [
3,
1,
4,
0,
4,
0,
4,
2,
2,
2,
2,
2,
4,
0,
0
],
"output": [
1,
1,
2,
1,
4,
1,
3,
1,
3,
3,
3,
1,
3,
4,
4
]
},
{
"input": [
1,
2,
0,
4,
4,
1,
1,
0,
1,
3,
1,
1,
1,
1,
4
],
"output": [
4,
0,
3,
1,
4,
3,
3,
3,
4,
2,
2,
0,
0,
3,
3
]
}
] |
[
3,
4,
3,
1,
4,
1,
1,
3,
4,
2,
3,
4,
0,
4,
2
] |
[
1,
0,
1,
1,
3,
3,
2,
1,
4,
4,
4,
1,
1,
3,
3
] |
3474da2af68adf40d32c1530f5e7965044f6b669175d5ca89292ef9e01cf757d
|
[
{
"input": [
3,
3,
4,
3,
4
],
"output": [
3,
3,
4,
3,
4
]
},
{
"input": [
1,
2,
0,
1,
3
],
"output": [
0,
2,
0,
0,
0
]
},
{
"input": [
2,
0,
4,
3,
0
],
"output": [
2,
2,
4,
3,
2
]
},
{
"input": [
0,
3,
1,
0,
3
],
"output": [
2,
0,
0,
0,
0
]
},
{
"input": [
0,
0,
1,
0,
0
],
"output": [
0,
0,
0,
0,
0
]
}
] |
[
4,
3,
0,
1,
3
] |
[
4,
3,
0,
0,
3
] |
8e13e584a1e785df7be7235c157d36feb7db6ee8f973a8eb867a8caa350415aa
|
[
{
"input": [
2,
1,
2,
3,
1,
3,
2,
1,
3,
3,
2,
2,
2
],
"output": [
0,
0,
0,
1,
2,
1,
0,
2,
0,
0,
3,
0,
3
]
},
{
"input": [
0,
3,
2,
0,
3,
3,
1,
1,
1,
2,
1,
1,
3
],
"output": [
0,
0,
0,
3,
1,
0,
0,
3,
0,
3,
0,
0,
0
]
},
{
"input": [
0,
2,
1,
0,
2,
2,
0,
2,
3,
0,
3,
1,
0
],
"output": [
3,
3,
3,
0,
3,
3,
0,
0,
0,
2,
0,
0,
0
]
},
{
"input": [
3,
1,
0,
3,
2,
0,
3,
3,
1,
1,
1,
2,
1
],
"output": [
0,
0,
0,
0,
0,
3,
1,
0,
0,
3,
0,
3,
0
]
},
{
"input": [
0,
3,
2,
0,
3,
3,
1,
1,
1,
2,
1,
1,
3
],
"output": [
0,
0,
0,
3,
1,
0,
0,
3,
0,
3,
0,
0,
0
]
}
] |
[
1,
0,
0,
0,
2,
2,
2,
2,
3,
2,
0,
3,
1
] |
[
0,
3,
2,
0,
3,
0,
0,
3,
0,
0,
3,
0,
0
] |
b2aa2a1be824b58021f64590b494468c02bd810f7642624a41eeb8b1e25cd5e4
|
[
{
"input": [
3,
3,
3,
3,
3,
3
],
"output": [
0,
0,
0,
0,
0,
0
]
},
{
"input": [
2,
3,
3,
1,
2,
1
],
"output": [
3,
2,
3,
3,
2,
3
]
},
{
"input": [
1,
3,
2,
3,
3,
1
],
"output": [
3,
3,
2,
2,
3,
3
]
},
{
"input": [
2,
2,
3,
2,
3,
3
],
"output": [
2,
3,
3,
2,
2,
0
]
},
{
"input": [
1,
3,
3,
1,
1,
2
],
"output": [
1,
3,
3,
1,
2,
1
]
}
] |
[
2,
3,
3,
3,
0,
3
] |
[
2,
2,
0,
3,
3,
2
] |
f6854a06043dfd4059f14177eb0d2e0b815abe8b8a9e5fd64f2460d94db055e4
|
[
{
"input": [
3,
1,
3,
2,
1,
3,
3,
2,
2,
2,
3,
2,
3
],
"output": [
1,
0,
0,
0,
0,
0,
0,
2,
0,
0,
3,
0,
0
]
},
{
"input": [
3,
2,
2,
2,
3,
2,
3,
3,
3,
0,
0,
0,
1
],
"output": [
0,
2,
0,
0,
3,
0,
0,
0,
0,
0,
0,
3,
0
]
},
{
"input": [
2,
2,
0,
2,
3,
0,
3,
1,
0,
3,
2,
0,
3
],
"output": [
0,
1,
2,
0,
0,
0,
0,
0,
0,
0,
2,
0,
2
]
},
{
"input": [
3,
0,
0,
0,
1,
0,
0,
2,
0,
0,
3,
0,
1
],
"output": [
0,
0,
0,
3,
0,
0,
0,
3,
0,
1,
0,
0,
0
]
},
{
"input": [
1,
0,
1,
2,
0,
1,
3,
0,
2,
1,
0,
2,
2
],
"output": [
0,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1
]
}
] |
[
0,
0,
1,
1,
0,
0,
2,
2,
2,
3,
2,
2,
0
] |
[
0,
3,
0,
0,
0,
0,
0,
0,
0,
3,
2,
1,
0
] |
40c3c32fd12fb4554eaf3a6d93310887ff579b7e293a5d72fe401ddf6273e077
|
[
{
"input": [
2,
1,
2,
3,
1,
3,
2,
1,
3
],
"output": [
3,
3,
2,
2,
2,
2,
2,
2,
2
]
},
{
"input": [
0,
0,
1,
0,
0,
2,
0,
0,
3
],
"output": [
0,
2,
2,
2,
0,
0,
0,
0,
0
]
},
{
"input": [
2,
1,
2,
3,
1,
3,
2,
1,
3
],
"output": [
3,
3,
2,
2,
2,
2,
2,
2,
2
]
},
{
"input": [
1,
1,
1,
2,
1,
1,
3,
1,
2
],
"output": [
3,
0,
0,
0,
0,
3,
3,
2,
3
]
},
{
"input": [
2,
1,
0,
2,
2,
0,
2,
3,
0
],
"output": [
0,
0,
0,
0,
0,
0,
3,
3,
2
]
}
] |
[
2,
0,
0,
3,
2,
1,
2,
3,
3
] |
[
3,
0,
0,
3,
2,
3,
2,
0,
0
] |
7887bd7d6f41cc5d7053202d58167c5b61e7cf32d6930a966c25d5cce86dd08b
|
[
{
"input": [
0,
0,
1,
2,
1,
0,
0,
0,
2
],
"output": [
2,
0,
1,
1,
1,
1,
1,
2,
0
]
},
{
"input": [
2,
1,
1,
2,
1,
0,
2,
0,
1
],
"output": [
1,
0,
1,
0,
0,
2,
0,
2,
2
]
},
{
"input": [
0,
1,
0,
0,
2,
1,
2,
0,
1
],
"output": [
2,
2,
2,
1,
2,
1,
0,
0,
2
]
},
{
"input": [
2,
2,
2,
1,
0,
1,
1,
0,
0
],
"output": [
0,
2,
1,
2,
1,
2,
1,
1,
1
]
},
{
"input": [
1,
0,
0,
2,
1,
0,
2,
0,
0
],
"output": [
2,
2,
1,
0,
0,
2,
2,
1,
2
]
}
] |
[
1,
1,
2,
1,
0,
0,
2,
1,
0
] |
[
0,
0,
0,
1,
2,
1,
0,
0,
1
] |
846cc3f1b89fc9c2359e6da6bcb91631fb6d3165532c3ce2aa51ea531631a6c4
|
[
{
"input": [
3,
3,
0,
1,
1,
3,
0,
2,
0,
1,
3,
3,
3
],
"output": [
0,
1,
1,
3,
1,
2,
3,
0,
3,
0,
1,
0,
0
]
},
{
"input": [
3,
1,
0,
2,
0,
2,
3,
3,
1,
0,
3,
0,
1
],
"output": [
0,
0,
3,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0
]
},
{
"input": [
1,
0,
1,
1,
2,
0,
1,
0,
1,
2,
3,
0,
1
],
"output": [
3,
3,
3,
0,
2,
3,
3,
3,
3,
2,
0,
1,
3
]
},
{
"input": [
1,
0,
3,
0,
1,
1,
2,
2,
1,
3,
1,
1,
1
],
"output": [
3,
1,
0,
1,
3,
0,
1,
1,
3,
0,
1,
3,
3
]
},
{
"input": [
1,
1,
1,
2,
1,
2,
1,
2,
3,
1,
0,
0,
2
],
"output": [
1,
3,
0,
0,
1,
0,
1,
2,
1,
0,
0,
3,
0
]
}
] |
[
2,
1,
2,
1,
2,
3,
1,
0,
0,
2,
0,
1,
2
] |
[
0,
1,
0,
1,
2,
1,
0,
0,
3,
0,
3,
3,
2
] |
0ef40fae3f8c04e9b35429d0ba42e52e70beae3230cc1defcc5fdc158aef1802
|
[
{
"input": [
0,
1,
0,
0,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
0
],
"output": [
0,
1,
0,
0,
0,
0,
0,
0,
0,
1,
1,
0,
1,
0,
1,
1,
0
]
},
{
"input": [
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1
],
"output": [
1,
1,
1,
1,
1,
0,
0,
1,
0,
0,
0,
0,
0,
0,
1,
1,
1
]
},
{
"input": [
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
1
],
"output": [
0,
0,
1,
0,
1,
0,
1,
0,
0,
0,
0,
0,
0,
1,
1,
1,
0
]
},
{
"input": [
0,
1,
0,
1,
0,
0,
1,
1,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
"output": [
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
1
]
},
{
"input": [
0,
0,
0,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
],
"output": [
0,
1,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
}
] |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
1,
0,
1,
0,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0
] |
fe6ab970ac15436db6c88782f2e168525a49cbb8f0fdfc02f800bf590203f4c1
|
[
{
"input": [
0,
3,
0,
0,
0,
0,
0,
0,
0,
2,
0,
0,
0
],
"output": [
0,
0,
2,
0,
0,
0,
0,
0,
0,
3,
0,
0,
0
]
},
{
"input": [
3,
0,
0,
0,
1,
0,
0,
2,
0,
0,
3,
0,
1
],
"output": [
0,
2,
0,
0,
0,
0,
0,
3,
0,
0,
0,
0,
2
]
},
{
"input": [
3,
0,
0,
0,
0,
2,
0,
0,
0,
3,
0,
0,
0
],
"output": [
0,
2,
0,
0,
0,
3,
0,
0,
0,
0,
2,
0,
0
]
},
{
"input": [
2,
0,
0,
0,
0,
2,
0,
0,
2,
0,
2,
0,
0
],
"output": [
3,
0,
0,
0,
0,
3,
0,
0,
3,
0,
3,
0,
0
]
},
{
"input": [
0,
2,
0,
2,
0,
0,
0,
0,
0,
3,
0,
0,
0
],
"output": [
0,
3,
0,
3,
0,
0,
0,
0,
0,
0,
2,
0,
0
]
}
] |
[
3,
0,
3,
0,
0,
0,
0,
0,
0,
2,
0,
0,
0
] |
[
0,
2,
0,
2,
0,
0,
0,
0,
0,
3,
0,
0,
0
] |
c3160e9a484f94ec49ae1b62c82990a8ca0d05b3e9da6ecb7cb4844813e5a291
|
[
{
"input": [
0,
0,
2,
0,
0,
3,
0,
0,
4,
0,
1,
1,
0,
1,
2,
0,
1
],
"output": [
3,
3,
3,
3,
3,
3,
3,
2,
2,
4,
3,
3,
3,
3,
3,
3,
2
]
},
{
"input": [
1,
3,
1,
1,
4,
1,
2,
2,
1,
2,
3,
1,
2,
4,
1,
3,
2
],
"output": [
4,
4,
4,
3,
3,
2,
4,
4,
4,
3,
3,
3,
2,
2,
1,
3,
3
]
},
{
"input": [
0,
3,
0,
0,
4,
0,
1,
1,
0,
1,
2,
0,
1,
3,
0,
1,
4
],
"output": [
3,
3,
3,
2,
2,
4,
3,
3,
3,
3,
3,
3,
2,
2,
2,
4,
4
]
},
{
"input": [
3,
2,
3,
4,
2,
4,
3,
2,
4,
4,
3,
3,
3,
4,
3,
4,
4
],
"output": [
1,
1,
0,
0,
1,
0,
0,
0,
1,
0,
1,
0,
1,
1,
0,
0,
0
]
},
{
"input": [
2,
0,
1,
3,
0,
1,
4,
0,
2,
1,
0,
2,
2,
0,
2,
3,
0
],
"output": [
3,
3,
2,
2,
2,
4,
4,
3,
3,
3,
3,
2,
2,
2,
4,
4,
4
]
}
] |
[
0,
0,
2,
3,
4,
0,
4,
2,
4,
0,
4,
3,
3,
0,
1,
3,
2
] |
[
3,
3,
4,
0,
2,
1,
3,
1,
3,
1,
2,
1,
3,
2,
2,
3,
4
] |
4c62f84d724b0a6a2a24fb9a8b1a20e01707a1289405265af798aae838d27762
|
[
{
"input": [
2,
2,
2,
0,
2,
0,
2,
1,
0,
2,
0,
2,
2,
0,
2,
1,
1,
1,
0,
2
],
"output": [
0,
0,
0,
0,
0,
1,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0
]
},
{
"input": [
0,
2,
1,
2,
1,
0,
2,
1,
2,
2,
0,
2,
2,
1,
1,
0,
2,
2,
1,
2
],
"output": [
0,
0,
2,
0,
2,
0,
0,
2,
0,
0,
0,
0,
0,
2,
2,
0,
0,
0,
2,
0
]
},
{
"input": [
0,
0,
2,
0,
2,
0,
0,
2,
1,
1,
0,
0,
2,
1,
2,
0,
0,
2,
2,
1
],
"output": [
0,
0,
0,
1,
0,
1,
1,
0,
0,
0,
1,
1,
0,
0,
0,
1,
0,
0,
0,
0
]
},
{
"input": [
1,
2,
1,
1,
1,
2,
2,
1,
1,
2,
1,
2,
1,
1,
2,
2,
2,
1,
2,
1
],
"output": [
2,
0,
2,
2,
2,
0,
0,
0,
2,
0,
2,
0,
2,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
2,
1,
1,
2,
2,
2,
1,
2,
1,
2,
2,
1,
2,
2,
2,
2,
2,
0,
0,
0
],
"output": [
0,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0
]
}
] |
[
2,
0,
0,
1,
1,
2,
2,
0,
2,
1,
0,
0,
1,
1,
2,
2,
2,
2,
2,
0
] |
[
0,
0,
1,
0,
2,
0,
0,
0,
0,
0,
1,
0,
0,
2,
0,
0,
0,
0,
0,
0
] |
827cab792891e9881f7f8c4bee71fc2ae8d29c8281ece57d84a201dd71e1b6a0
|
[
{
"input": [
0,
2,
1,
0,
2,
2,
0,
2,
3,
0,
3,
1,
0,
3
],
"output": [
2,
3,
3,
3,
0,
0,
0,
2,
2,
2,
0,
0,
0,
2
]
},
{
"input": [
3,
2,
1,
3,
3,
2,
2,
2,
3,
2,
3,
3,
3,
0
],
"output": [
2,
2,
2,
3,
2,
3,
2,
3,
3,
2,
2,
2,
2,
3
]
},
{
"input": [
0,
0,
0,
1,
0,
0,
2,
0,
0,
3,
0,
1,
1,
0
],
"output": [
3,
3,
2,
2,
2,
3,
3,
3,
3,
3,
0,
3,
3,
3
]
},
{
"input": [
1,
3,
1,
2,
2,
1,
2,
3,
1,
3,
2,
1,
3,
3
],
"output": [
2,
2,
2,
2,
2,
2,
2,
2,
3,
2,
2,
2,
3,
2
]
},
{
"input": [
1,
3,
1,
2,
2,
1,
2,
3,
1,
3,
2,
1,
3,
3
],
"output": [
2,
2,
2,
2,
2,
2,
2,
2,
3,
2,
2,
2,
3,
2
]
}
] |
[
2,
0,
3,
0,
1,
1,
1,
3,
2,
2,
0,
0,
1,
0
] |
[
3,
2,
3,
0,
3,
3,
2,
2,
3,
0,
3,
2,
2,
3
] |
1c7bdab983d3ad1e2b84934fd2cbd9e02e34c88b766dd9c057f0f666b0cf64a7
|
[
{
"input": [
3,
0,
1,
4,
0,
1,
5,
0,
2,
1,
0,
2
],
"output": [
0,
4,
0,
0,
0,
0,
1,
0,
0,
5,
0,
0
]
},
{
"input": [
0,
4,
2,
0,
4,
3,
0,
4,
4,
0,
4,
5
],
"output": [
0,
0,
2,
0,
0,
0,
0,
0,
0,
0,
4,
0
]
},
{
"input": [
0,
5,
2,
0,
5,
3,
0,
5,
4,
0,
5,
5
],
"output": [
0,
2,
0,
0,
0,
0,
0,
0,
4,
0,
0,
3
]
},
{
"input": [
0,
4,
0,
0,
5,
0,
1,
1,
0,
1,
2,
0
],
"output": [
4,
0,
4,
0,
0,
0,
0,
0,
0,
5,
0,
0
]
},
{
"input": [
2,
0,
0,
3,
0,
0,
4,
0,
0,
5,
0,
1
],
"output": [
0,
0,
0,
0,
0,
4,
0,
4,
0,
0,
0,
0
]
}
] |
[
4,
3,
4,
0,
1,
0,
1,
0,
1,
5,
4,
0
] |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
4,
0
] |
bcc1f844f6c87681d7ddfd3d4389efaffbb1503de0f884ca9df563870878cc94
|
[
{
"input": [
3,
1,
2,
2,
1,
2,
3,
1,
3
],
"output": [
0,
0,
0,
0,
1,
0,
0,
0,
0
]
},
{
"input": [
3,
3,
0,
0,
0,
1,
0,
0,
2
],
"output": [
3,
0,
0,
0,
0,
0,
0,
0,
3
]
},
{
"input": [
2,
1,
3,
3,
2,
2,
2,
3,
2
],
"output": [
0,
0,
2,
0,
0,
0,
0,
2,
0
]
},
{
"input": [
0,
2,
2,
0,
2,
3,
0,
3,
1
],
"output": [
0,
0,
0,
0,
0,
0,
1,
0,
0
]
},
{
"input": [
3,
3,
0,
0,
0,
1,
0,
0,
2
],
"output": [
3,
0,
0,
0,
0,
0,
0,
0,
3
]
}
] |
[
2,
3,
3,
0,
3,
1,
2,
3,
3
] |
[
0,
0,
0,
1,
0,
0,
0,
0,
0
] |
9d2a599b4006efdb74b108e8dbfc7c2218ccb140c0b0c9c61c60c523b1490dfb
|
[
{
"input": [
2,
2,
0,
3,
0,
2,
2,
2,
0,
0,
0,
0,
0
],
"output": [
0,
3,
0,
0,
0,
3,
0,
3,
0,
2,
2,
2,
2
]
},
{
"input": [
0,
2,
2,
2,
0,
3,
0,
2,
2,
2,
0,
0,
0
],
"output": [
0,
3,
0,
3,
0,
0,
0,
3,
0,
3,
0,
2,
2
]
},
{
"input": [
0,
0,
0,
3,
2,
2,
2,
2,
3,
0,
0,
0,
0
],
"output": [
2,
2,
3,
0,
0,
0,
0,
0,
0,
3,
2,
2,
2
]
},
{
"input": [
0,
0,
0,
0,
0,
0,
3,
2,
2,
2,
2,
3,
0
],
"output": [
2,
2,
2,
2,
2,
3,
0,
0,
0,
0,
0,
0,
3
]
},
{
"input": [
1,
1,
0,
1,
2,
0,
1,
3,
0,
2,
1,
0,
2
],
"output": [
1,
1,
0,
3,
0,
3,
0,
0,
0,
0,
3,
3,
3
]
}
] |
[
0,
3,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
3,
0,
0,
3,
2,
2,
2,
2,
2,
2,
2,
2,
2
] |
08a317d2c8a62338b0b65f9c911a67b526bccd79d5237c367869fba98b4f9fb3
|
[
{
"input": [
2,
2,
2,
3,
3,
3
],
"output": [
0,
0,
3,
2,
3,
0
]
},
{
"input": [
2,
3,
0,
0,
3,
2
],
"output": [
3,
3,
3,
3,
3,
3
]
},
{
"input": [
2,
2,
2,
3,
0,
0
],
"output": [
3,
0,
3,
3,
3,
3
]
},
{
"input": [
0,
3,
3,
3,
3,
2
],
"output": [
0,
0,
3,
3,
2,
2
]
},
{
"input": [
2,
3,
3,
3,
3,
2
],
"output": [
2,
2,
3,
3,
2,
3
]
}
] |
[
3,
0,
3,
2,
3,
3
] |
[
0,
0,
3,
2,
2,
3
] |
53c37a87b8de8abf1a86094ec97bf0c21aed6700386279c22543e9bce6aed7e6
|
[
{
"input": [
1,
1,
0,
1,
1,
0,
0,
1,
1,
0,
1,
1,
0
],
"output": [
0,
0,
0,
1,
0,
1,
0,
1,
1,
0,
1,
1,
0
]
},
{
"input": [
0,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1
],
"output": [
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1
]
},
{
"input": [
0,
1,
1,
0,
1,
1,
1,
0,
0,
1,
1,
1,
1
],
"output": [
0,
1,
1,
0,
1,
1,
1,
1,
1,
0,
0,
0,
1
]
},
{
"input": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
1
],
"output": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0
]
},
{
"input": [
0,
0,
0,
1,
1,
0,
0,
0,
0,
1,
1,
0,
1
],
"output": [
1,
0,
1,
0,
1,
1,
1,
1,
0,
0,
1,
0,
1
]
}
] |
[
1,
1,
0,
1,
1,
0,
0,
1,
1,
1,
1,
1,
1
] |
[
0,
0,
0,
1,
0,
1,
1,
0,
0,
1,
1,
0,
0
] |
80573caf6f03e77c8422f97b2c20178d46e2ebe29822d016795b025485932862
|
[
{
"input": [
2,
1,
1,
3,
1,
1,
4
],
"output": [
1,
1,
2,
2,
2,
1,
1
]
},
{
"input": [
4,
1,
0,
4,
2,
0,
4
],
"output": [
2,
2,
2,
1,
1,
1,
3
]
},
{
"input": [
4,
1,
2,
2,
1,
2,
3
],
"output": [
1,
3,
2,
2,
2,
1,
1
]
},
{
"input": [
1,
1,
2,
1,
1,
3,
1
],
"output": [
4,
1,
1,
1,
2,
2,
2
]
},
{
"input": [
2,
1,
0,
2,
2,
0,
2
],
"output": [
4,
4,
4,
1,
1,
1,
2
]
}
] |
[
4,
1,
2,
1,
1,
1,
0
] |
[
2,
3,
1,
1,
4,
0,
2
] |
807a44c51e0f512af92899a9c3e42840a08f2332d155d27b757c000e96cbcd8a
|
[
{
"input": [
0,
1,
1,
0,
2,
0,
1,
1,
1
],
"output": [
1,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"input": [
1,
0,
1,
0,
2,
2,
0,
1,
1
],
"output": [
1,
0,
0,
0,
0,
0,
1,
0,
0
]
},
{
"input": [
0,
1,
0,
0,
1,
0,
2,
0,
0
],
"output": [
0,
0,
0,
1,
0,
0,
0,
0,
0
]
},
{
"input": [
1,
1,
1,
1,
1,
2,
1,
1,
1
],
"output": [
0,
1,
0,
0,
0,
0,
0,
1,
0
]
},
{
"input": [
0,
1,
0,
1,
2,
0,
1,
0,
2
],
"output": [
0,
0,
0,
0,
0,
0,
0,
1,
0
]
}
] |
[
2,
0,
1,
0,
0,
1,
0,
1,
0
] |
[
0,
0,
0,
0,
1,
0,
0,
0,
0
] |
dddf1f3b960a8612fd0d9ed90af50f1a17600495ad8269a42517d4e4b39e2161
|
[
{
"input": [
1,
1,
4,
4,
4
],
"output": [
4,
3,
1,
2,
2
]
},
{
"input": [
4,
3,
3,
4,
4
],
"output": [
4,
4,
4,
4,
2
]
},
{
"input": [
4,
1,
2,
2,
2
],
"output": [
1,
4,
4,
3,
3
]
},
{
"input": [
2,
4,
4,
3,
3
],
"output": [
4,
4,
4,
4,
1
]
},
{
"input": [
4,
1,
4,
4,
1
],
"output": [
1,
1,
1,
1,
4
]
}
] |
[
4,
4,
3,
4,
4
] |
[
4,
4,
4,
4,
2
] |
bee09a905734adb41d008c6a5c5a3ad387478729667e83e8d3176f2f96961423
|
[
{
"input": [
1,
4,
0,
0,
0,
0,
0,
2,
2,
0,
0,
0,
2,
2,
0,
0
],
"output": [
0,
0,
1,
4,
4,
4,
0,
1,
1,
0,
4,
0,
1,
1,
0,
4
]
},
{
"input": [
0,
4,
1,
2,
0,
0,
0,
0,
0,
0,
0,
0,
2,
1,
0,
0
],
"output": [
1,
0,
0,
1,
0,
4,
4,
4,
4,
4,
4,
0,
1,
0,
0,
4
]
},
{
"input": [
1,
0,
0,
0,
4,
0,
0,
0,
0,
0,
4,
0,
0,
0,
0,
1
],
"output": [
4,
0,
4,
1,
0,
1,
4,
4,
4,
1,
0,
1,
4,
4,
0,
0
]
},
{
"input": [
1,
1,
4,
1,
2,
2,
1,
2,
3,
1,
2,
4,
1,
3,
2,
1
],
"output": [
4,
0,
1,
0,
1,
1,
4,
0,
0,
0,
0,
3,
3,
0,
0,
0
]
},
{
"input": [
2,
0,
0,
1,
0,
1,
0,
0,
2,
2,
0,
0,
0,
4,
0,
4
],
"output": [
1,
0,
0,
0,
0,
0,
0,
0,
1,
1,
0,
4,
1,
0,
0,
0
]
}
] |
[
4,
0,
0,
2,
1,
4,
4,
1,
2,
2,
1,
4,
1,
0,
4,
0
] |
[
0,
1,
0,
1,
0,
0,
0,
0,
1,
1,
0,
1,
4,
2,
0,
0
] |
2f5056c15ac90c68a5844ab7bf3d8fb7482a3f03444a1708494ca25593d94193
|
[
{
"input": [
5,
0,
5,
0,
5,
0,
5,
0,
5,
5
],
"output": [
0,
5,
0,
5,
0,
5,
0,
5,
0,
0
]
},
{
"input": [
5,
0,
1,
5,
0,
1,
0,
1,
0,
5
],
"output": [
0,
5,
1,
0,
5,
1,
0,
1,
5,
0
]
},
{
"input": [
5,
0,
5,
1,
0,
5,
5,
0,
3,
5
],
"output": [
0,
5,
0,
1,
5,
0,
0,
5,
3,
0
]
},
{
"input": [
0,
2,
0,
0,
3,
0,
0,
4,
0,
0
],
"output": [
0,
0,
0,
0,
0,
0,
5,
3,
5,
5
]
},
{
"input": [
5,
5,
0,
5,
5,
0,
5,
3,
0,
3
],
"output": [
0,
0,
5,
0,
0,
5,
0,
3,
5,
3
]
}
] |
[
3,
0,
5,
0,
1,
5,
0,
2,
5,
0
] |
[
3,
5,
0,
5,
1,
0,
5,
2,
0,
5
] |
eec0f41a8d650d996fcc98588fa7e88de62adbadfb529adb6a9c8227228dbc5f
|
[
{
"input": [
1,
1,
2,
1,
1,
3,
1,
1,
4,
1,
2,
2,
1,
2,
3,
1,
2
],
"output": [
0,
2,
0,
1,
0,
0,
0,
3,
0,
0,
0,
4,
0,
1,
0,
3,
3
]
},
{
"input": [
1,
4,
1,
2,
2,
1,
2,
3,
1,
2,
4,
1,
3,
2,
1,
3,
3
],
"output": [
3,
0,
0,
0,
4,
0,
1,
0,
3,
3,
3,
0,
0,
3,
0,
0,
0
]
},
{
"input": [
3,
3,
4,
3,
4,
4,
4,
0,
0,
0,
1,
0,
0,
2,
0,
0,
3
],
"output": [
0,
0,
0,
3,
0,
1,
0,
0,
0,
0,
2,
0,
0,
0,
1,
0,
1
]
},
{
"input": [
4,
3,
1,
4,
4,
2,
2,
2,
3,
2,
2,
4,
2,
3,
3,
2,
3
],
"output": [
0,
0,
0,
3,
4,
0,
0,
0,
3,
0,
0,
0,
0,
4,
0,
4,
0
]
},
{
"input": [
3,
4,
1,
4,
2,
1,
4,
3,
1,
4,
4,
2,
2,
2,
3,
2,
2
],
"output": [
3,
3,
0,
2,
0,
0,
0,
0,
0,
3,
4,
0,
0,
0,
3,
0,
0
]
}
] |
[
4,
4,
1,
3,
4,
2,
1,
4,
2,
3,
3,
3,
3,
4,
2,
2,
1
] |
[
3,
0,
0,
3,
0,
0,
0,
2,
0,
4,
0,
0,
0,
0,
0,
4,
0
] |
743e6e1c81f3238929003471b003ace28bbbfeebafc52713bfc2be957f33fbaf
|
[
{
"input": [
3,
3,
5,
5,
5,
1,
3,
3,
1,
1,
1,
3,
1,
1,
1,
3,
1,
0,
1,
3
],
"output": [
1,
1,
1,
3,
1,
0,
1,
1,
3,
1,
3,
3,
3,
1,
3,
3,
5,
5,
5,
3
]
},
{
"input": [
0,
0,
1,
0,
0,
2,
0,
0,
3,
0,
0,
4,
0,
0,
5,
0,
1,
1,
0,
1
],
"output": [
3,
1,
1,
1,
5,
5,
5,
1,
1,
1,
5,
5,
5,
3,
3,
5,
5,
5,
5,
1
]
},
{
"input": [
1,
3,
1,
1,
1,
3,
1,
1,
1,
3,
1,
1,
0,
1,
1,
1,
0,
0,
0,
5
],
"output": [
3,
3,
3,
1,
3,
3,
3,
1,
3,
3,
3,
5,
5,
5,
1,
5,
1,
3,
3,
2
]
},
{
"input": [
5,
5,
1,
5,
5,
1,
5,
5,
3,
3,
3,
1,
3,
3,
5,
5,
5,
3,
3,
3
],
"output": [
3,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
3,
1,
1,
0,
1
]
},
{
"input": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
3,
3,
3,
1,
1,
1,
5,
5,
5,
3,
3
],
"output": [
1,
1,
1,
1,
1,
1,
1,
1,
3,
1,
0,
1,
3,
1,
1,
1,
3,
1,
1,
0
]
}
] |
[
5,
5,
5,
1,
0,
0,
1,
1,
3,
1,
1,
0,
1,
1,
1,
1,
1,
3,
1,
1
] |
[
1,
3,
1,
5,
1,
1,
5,
3,
3,
3,
5,
5,
5,
1,
1,
1,
3,
3,
3,
5
] |
0942a6e048408aa72fa9d68ed42906739e12080eabf1b5923d2b78904d16322a
|
[
{
"input": [
1,
3,
2,
1,
3
],
"output": [
0,
0,
0,
0,
0
]
},
{
"input": [
0,
3,
2,
0,
3
],
"output": [
0,
0,
0,
1,
0
]
},
{
"input": [
0,
2,
4,
0,
3
],
"output": [
1,
0,
0,
0,
0
]
},
{
"input": [
0,
3,
0,
0,
4
],
"output": [
0,
0,
0,
0,
0
]
},
{
"input": [
2,
4,
4,
3,
3
],
"output": [
2,
0,
0,
0,
0
]
}
] |
[
0,
3,
2,
1,
4
] |
[
0,
0,
0,
0,
4
] |
62d41ae161c993d760e1007a5269bb125565f679f82568ea90f103e4f5120bc2
|
[
{
"input": [
2,
1,
1,
0,
2,
2,
1,
2,
0,
2,
2,
2,
1
],
"output": [
0,
2,
1,
1,
2,
2,
2,
2,
2,
2,
2,
1,
2
]
},
{
"input": [
2,
2,
1,
1,
1,
1,
1,
2,
1,
1,
1,
2,
2
],
"output": [
1,
2,
2,
2,
1,
2,
2,
0,
2,
1,
2,
0,
0
]
},
{
"input": [
0,
0,
2,
1,
2,
1,
2,
2,
2,
2,
2,
1,
1
],
"output": [
1,
1,
1,
2,
2,
1,
1,
1,
1,
1,
2,
2,
1
]
},
{
"input": [
1,
2,
2,
2,
1,
2,
2,
1,
1,
1,
2,
1,
1
],
"output": [
2,
2,
2,
1,
1,
2,
0,
2,
1,
2,
0,
0,
0
]
},
{
"input": [
0,
0,
1,
0,
1,
0,
0,
1,
0,
2,
0,
0,
1
],
"output": [
1,
1,
0,
1,
0,
0,
0,
0,
2,
2,
1,
0,
0
]
}
] |
[
1,
2,
1,
2,
1,
2,
0,
2,
1,
2,
2,
1,
1
] |
[
0,
2,
1,
2,
2,
2,
2,
2,
2,
2,
0,
2,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.