結果
| 問題 |
No.415 ぴょん
|
| ユーザー |
💕💖💞
|
| 提出日時 | 2018-08-14 02:08:12 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 271 bytes |
| コンパイル時間 | 92 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 403,616 KB |
| 最終ジャッジ日時 | 2024-09-24 08:30:33 |
| 合計ジャッジ時間 | 2,807 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 TLE * 1 -- * 23 |
ソースコード
N, D = map(int, input().split())
import sys
if N == D:
print(0)
sys.exit()
xs = [1 for n in range(N)]
#print(xs)
for index, jump in enumerate(range(0, 1000, D)):
point = jump%N
if xs[point] is None:
print(index-1)
#print(xs)
break
xs[point] = None
💕💖💞