結果
問題 | No.1842 Decimal Point |
ユーザー |
👑 ![]() |
提出日時 | 2021-12-07 03:23:11 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 187 ms / 2,000 ms |
コード長 | 190 bytes |
コンパイル時間 | 491 ms |
コンパイル使用メモリ | 82,128 KB |
実行使用メモリ | 77,404 KB |
最終ジャッジ日時 | 2024-07-07 10:14:38 |
合計ジャッジ時間 | 2,415 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 |
ソースコード
def solve(A,B,C):A*=pow(10,C-1,B)A%=Breturn (A*10)//BT=int(input())ans=[0]*Tfor i in range(T):a,b,c=map(int,input().split())ans[i]=solve(a,b,c)for i in range(T):print(ans[i])