結果

問題 No.1842 Decimal Point
ユーザー maspymaspy
提出日時 2022-05-12 06:37:48
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 1,278 ms / 2,000 ms
コード長 136 bytes
コンパイル時間 129 ms
コンパイル使用メモリ 10,640 KB
実行使用メモリ 7,996 KB
最終ジャッジ日時 2023-09-27 04:25:00
合計ジャッジ時間 5,020 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,820 KB
testcase_01 AC 654 ms
7,964 KB
testcase_02 AC 1,278 ms
7,848 KB
testcase_03 AC 803 ms
7,848 KB
testcase_04 AC 872 ms
7,996 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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