結果
| 問題 |
No.1842 Decimal Point
|
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2025-11-08 13:51:42 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 372 ms / 2,000 ms |
| コード長 | 119 bytes |
| コンパイル時間 | 3,138 ms |
| コンパイル使用メモリ | 82,328 KB |
| 実行使用メモリ | 76,684 KB |
| 最終ジャッジ日時 | 2025-11-08 13:51:48 |
| 合計ジャッジ時間 | 3,529 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 |
ソースコード
for _ in range(int(input())):
A,B,C = map(int,input().split())
x = (A * pow(10,C-1,B)) % B
print((x*10)//B)
ntuda