发下第一题,第一题跑通过就快到时间了,第二题感觉有思路但是没时间写了,还是写的少 不知道是不是好的方法,但是能过 import sys def f(s,start_x,start_y,n): s[start_x][start_y] = '6' change = ['6','5','4','2','3','1'] while(True): if start_x>0 and s[start_x-1][start_y]=='#': start_x = start_x - 1 s[start_x][...