結果

問題 No.1842 Decimal Point
ユーザー titiatitia
提出日時 2022-02-19 00:40:55
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 853 ms / 2,000 ms
コード長 159 bytes
コンパイル時間 99 ms
コンパイル使用メモリ 10,688 KB
実行使用メモリ 8,440 KB
最終ジャッジ日時 2023-09-11 20:21:45
合計ジャッジ時間 2,722 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,872 KB
testcase_01 AC 236 ms
8,440 KB
testcase_02 AC 853 ms
8,404 KB
testcase_03 AC 394 ms
8,392 KB
testcase_04 AC 437 ms
8,312 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

T=int(input())
for tests in range(T):
    A,B,C=map(int,input().split())

    k=A*pow(10,C,10*B)%(10*B)

    print(k//B)
0