結果

問題 No.1842 Decimal Point
ユーザー square1001square1001
提出日時 2022-02-18 21:22:51
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 1,276 ms / 2,000 ms
コード長 123 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 10,608 KB
実行使用メモリ 7,944 KB
最終ジャッジ日時 2023-09-11 18:27:24
合計ジャッジ時間 5,036 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,856 KB
testcase_01 AC 654 ms
7,944 KB
testcase_02 AC 1,276 ms
7,936 KB
testcase_03 AC 813 ms
7,788 KB
testcase_04 AC 848 ms
7,868 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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