#946. 小P的2048
小P的2048
输入样例
3 6
2 1 2 3 2 4
1 14 2
1 6 4
2 10 2
0 3 2
2 17 2
3 14 4
输出样例
4
12
Statistics
Related
In following contests:
3 6
2 1 2 3 2 4
1 14 2
1 6 4
2 10 2
0 3 2
2 17 2
3 14 4
4
12
In following contests:
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.