結果
問題 | No.1842 Decimal Point |
ユーザー | tatyam |
提出日時 | 2021-12-14 22:40:35 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 406 ms / 2,000 ms |
コード長 | 142 bytes |
コンパイル時間 | 173 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 76,672 KB |
最終ジャッジ日時 | 2024-07-23 19:41:17 |
合計ジャッジ時間 | 3,307 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 |
ソースコード
for i in range(int(input())): A, B, C = map(int, input().split()) D = B * 10 x = A * pow(10, C, D) % D print((x - x % B) // B)