福建快三app免费下载_Python 浜斾汉鍒嗛奔

Document 瀵硅薄鍙傝冩墜鍐 福建快三app免费下载_Python3 瀹炰緥

A銆丅銆丆銆丏銆丒 浜斾汉鍦ㄦ煇澶╁閲屽悎浼欏幓鎹曢奔锛屽埌绗簩澶╁噷鏅ㄦ椂閮界柌鎯笉鍫紝浜庢槸鍚勮嚜鎵惧湴鏂圭潯瑙夈

福建快三app免费下载鏃ヤ笂涓夋潌锛孉 绗竴涓啋鏉ワ紝浠栧皢楸煎垎涓轰簲浠斤紝鎶婂浣欑殑涓鏉¢奔鎵旀帀锛屾嬁璧拌嚜宸辩殑涓浠姐

B 绗簩涓啋鏉ワ紝涔熷皢楸煎垎涓轰簲浠斤紝鎶婂浣欑殑涓鏉¢奔鎵旀帀鎷胯蛋鑷繁鐨勪竴浠姐 銆

C銆丏銆丒渚濇閱掓潵锛屼篃鎸夊悓鏍风殑鏂规硶鎷块奔銆

闂粬浠彴浼欒嚦灏戞崟浜嗗灏戞潯楸?

瀹炰緥

def main():
    fish = 1
    while True:
        total, enough = fish, True
        for _ in range(5):
            if (total - 1) % 5 == 0:
                total = (total - 1)  //  5 * 4
            else:
                enough = False
                break
        if enough:
            print(f'鎬诲叡鏈墈fish}鏉¢奔')
            break
        fish += 1


if __name__ == '__main__':
    main()

杩愯缁撴灉锛

鎬诲叡鏈3121鏉¢奔

Document 瀵硅薄鍙傝冩墜鍐 福建快三app免费下载_Python3 瀹炰緥