結果

問題 No.1842 Decimal Point
ユーザー NatsubiSoganNatsubiSogan
提出日時 2022-02-19 21:25:44
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 964 ms / 2,000 ms
コード長 112 bytes
コンパイル時間 98 ms
コンパイル使用メモリ 10,524 KB
実行使用メモリ 7,808 KB
最終ジャッジ日時 2023-09-11 20:53:59
合計ジャッジ時間 3,971 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,784 KB
testcase_01 AC 640 ms
7,740 KB
testcase_02 AC 964 ms
7,808 KB
testcase_03 AC 772 ms
7,748 KB
testcase_04 AC 770 ms
7,740 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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