結果

問題 No.1842 Decimal Point
ユーザー V_MelvilleV_Melville
提出日時 2022-02-19 17:54:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 414 ms / 2,000 ms
コード長 122 bytes
コンパイル時間 261 ms
コンパイル使用メモリ 87,048 KB
実行使用メモリ 79,032 KB
最終ジャッジ日時 2023-09-11 20:46:55
合計ジャッジ時間 2,638 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,148 KB
testcase_01 AC 340 ms
79,032 KB
testcase_02 AC 414 ms
78,544 KB
testcase_03 AC 371 ms
78,288 KB
testcase_04 AC 384 ms
78,440 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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