結果
問題 |
No.2749 随伴関手入門
|
ユーザー |
![]() |
提出日時 | 2024-05-10 21:23:09 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 91 bytes |
コンパイル時間 | 145 ms |
コンパイル使用メモリ | 82,564 KB |
実行使用メモリ | 53,612 KB |
最終ジャッジ日時 | 2024-12-20 04:14:45 |
合計ジャッジ時間 | 2,214 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 30 |
ソースコード
n = int(input()) x = y = 1 % n i = 1 while x: x, y = y, (x + y) % n i += 1 print(i)