题解列表

筛选

约瑟夫环重新写一遍

摘要:解题思路:注意事项:最后li2=[3,6,1,5,2,8,4,7]参考代码:n,m=map(int,input().split())li=[]li2=[]for i in range(1,n+1): ……