编写题解 3047: Crossing River ```pythonglobaltimestimes=[]defcrossingriver(p_list):p_list.sort()#顺序排列time=0#一组数据全部过河需要的时间whileTrue:iflen(p_list) 题解列表 2024年03月07日 0 点赞 0 评论 521 浏览 评分:0.0
贪心摆渡人 摘要:解题思路:注意事项:参考代码:def crossing_river(list): time = 0 while 1: if len(list) < 4: …… 题解列表 2023年10月10日 0 点赞 0 评论 695 浏览 评分:9.9