The program must first read the initialization data from standard input. Then, within an infinite loop, read the device

动态 未结 0 99
小小草
小小草 LV1 2023年9月23日 23:40 发表
Example input: 10 5 3 2 2 SAME 4 3 Explanation: The building has a width of 10 windows and a height of 5 windows. You can make 3 jumps before the bombs go off. Your starting position is at window (2,2). The device code indicates that the next window you should jump to is in the same temperature zone as your current location. The next window is located at (4,3). Example output: JUMP Explanation: Based on the device code, you need to jump to the next window. Therefore, the program outputs "JUMP" to the standard output.
收藏(0)  分享
相关标签: 智能问答
问题没解决?让AI助手帮你作答 AI助手
0个回复
  • 消灭零回复