← 返回 citadel 的题目列表2048 Simulation Encoding-Decoding Task
类型:online_judge
Write a simulation of the 2048 game. Encode and decode the game state to and from a compressed long long integer.
Example
Input
"[[0,2,4,8],[16,32,64,128],[256,512,1024,2048],[4096,8192,16384,32768]]"
Output
"some_encoded_value"