結果

問題 No.1842 Decimal Point
ユーザー ShirotsumeShirotsume
提出日時 2022-02-18 21:39:02
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 403 ms / 2,000 ms
コード長 130 bytes
コンパイル時間 344 ms
コンパイル使用メモリ 86,624 KB
実行使用メモリ 78,900 KB
最終ジャッジ日時 2023-09-11 18:43:51
合計ジャッジ時間 2,765 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,028 KB
testcase_01 AC 345 ms
78,900 KB
testcase_02 AC 403 ms
78,432 KB
testcase_03 AC 369 ms
78,556 KB
testcase_04 AC 365 ms
78,432 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

for _ in range(int(input())):
    a, b, c = map(int,input().split())
    ans = ((a * pow(10, c, 10 * b)) // b) % 10
    print(ans)
0