結果
問題 | No.1842 Decimal Point |
ユーザー |
|
提出日時 | 2022-02-18 23:30:55 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 239 ms / 2,000 ms |
コード長 | 385 bytes |
コンパイル時間 | 268 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 78,336 KB |
最終ジャッジ日時 | 2024-06-29 09:54:59 |
合計ジャッジ時間 | 1,638 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 |
ソースコード
import sys,random,bisectfrom collections import deque,defaultdictfrom heapq import heapify,heappop,heappushfrom itertools import permutationsfrom math import log,gcdinput = lambda :sys.stdin.readline().rstrip()mi = lambda :map(int,input().split())li = lambda :list(mi())for _ in range(int(input())):a,b,c = mi()res = (a * pow(10,c,10*b))print((res//b)%10)