結果
| 問題 | No.2749 随伴関手入門 |
| コンテスト | |
| ユーザー |
遭難者
|
| 提出日時 | 2024-05-10 22:31:35 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 25 ms / 2,000 ms |
| コード長 | 140 bytes |
| 記録 | |
| コンパイル時間 | 271 ms |
| コンパイル使用メモリ | 85,412 KB |
| 実行使用メモリ | 52,224 KB |
| 最終ジャッジ日時 | 2026-05-27 09:22:20 |
| 合計ジャッジ時間 | 2,235 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 |
ソースコード
N = int(input())
x, y = 0, 1 % N
now = 0
while True:
now += 1
x, y = y, (x + y) % N
if x == 0:
print(now)
exit()
遭難者