結果
| 問題 |
No.415 ぴょん
|
| ユーザー |
|
| 提出日時 | 2021-01-03 14:43:24 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 128 bytes |
| コンパイル時間 | 116 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 817,908 KB |
| 最終ジャッジ日時 | 2024-10-13 08:15:53 |
| 合計ジャッジ時間 | 2,689 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 MLE * 1 -- * 23 |
ソースコード
n,d=map(int,input().split()) s=set(range(n)) p=1 for i in range(n): if p in s:s.discard(p) else:i-=1;break p=(p+d)%n print(i)