結果
問題 |
No.1819 Mirrored 2
|
ユーザー |
![]() |
提出日時 | 2022-01-07 23:45:53 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 168 bytes |
コンパイル時間 | 353 ms |
コンパイル使用メモリ | 82,520 KB |
実行使用メモリ | 64,836 KB |
最終ジャッジ日時 | 2024-11-26 04:28:25 |
合計ジャッジ時間 | 6,139 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 25 TLE * 1 |
ソースコード
p, q, x, y = map(int, input().split()) if y % 10 == 0: y += q ans = int(str(y)[::-1]) t = 0 while ans * pow(10, t, p) % p != x: t += 1 print(str(ans) + '0' * t)