結果

問題 No.1842 Decimal Point
ユーザー ripityripity
提出日時 2022-02-18 23:05:27
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 390 ms / 2,000 ms
コード長 103 bytes
コンパイル時間 279 ms
コンパイル使用メモリ 86,808 KB
実行使用メモリ 78,932 KB
最終ジャッジ日時 2023-09-11 20:00:31
合計ジャッジ時間 2,632 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,284 KB
testcase_01 AC 341 ms
78,932 KB
testcase_02 AC 390 ms
78,064 KB
testcase_03 AC 386 ms
78,600 KB
testcase_04 AC 364 ms
78,444 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

for _ in range(int(input())):
    A,B,C = map(int,input().split())
    print((A*pow(10,C-1,B)%B*10)//B)
0