結果
| 問題 | No.2749 随伴関手入門 |
| ユーザー |
👑 |
| 提出日時 | 2024-05-10 22:31:35 |
| 言語 | PyPy3 (8.0.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 34 ms / 2,000 ms |
| + 995µs | |
| コード長 | 140 bytes |
| 記録 | |
| コンパイル時間 | 96 ms |
| コンパイル使用メモリ | 64,792 KB |
| 実行使用メモリ | 53,576 KB |
| 最終ジャッジ日時 | 2026-10-25 08:08:32 |
| 合計ジャッジ時間 | 3,103 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge7_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
ソースコード
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()