結果
問題 |
No.25 有限小数
|
ユーザー |
![]() |
提出日時 | 2019-03-31 23:40:10 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 254 bytes |
コンパイル時間 | 159 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-22 16:29:25 |
合計ジャッジ時間 | 2,091 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 WA * 7 |
ソースコード
N = int(input()) M = int(input()) for _ in range(0, 20) : x = N // M if x * M == N: s = str(x) ans = '' for c in s : if c != '0' : ans = c print(ans) quit() N *= 10 print(-1)