結果

問題 No.1842 Decimal Point
ユーザー yudai1102jpyudai1102jp
提出日時 2022-02-18 21:44:37
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 662 bytes
コンパイル時間 128 ms
コンパイル使用メモリ 10,800 KB
実行使用メモリ 38,024 KB
最終ジャッジ日時 2023-09-11 18:49:23
合計ジャッジ時間 6,984 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
import sys
import heapq
from collections import deque
sys.setrecursionlimit(500*500)

stdin = sys.stdin


def YES(): print('Yes')
def NO(): print('No')
def TAKAHASHI(): print('Takahashi')
def AOKI(): print("Aoki")
def ns(): return stdin.readline().strip()
def ni(): return int(ns())
def na(): return list(map(int, stdin.readline().split()))
def nz(): return list(map(lambda x: int(x)-1, stdin.readline().split()))


MOD = int(1e9+7)


def YES():
    print('Yes')


def NO():
    print('No')


def TAKAHASHI():
    print('Takahashi')


def AOKI():
    print("Aoki")


T = ni()
for t in range(T):
    a, b, c = na()

    print(((a*pow(10,b))//c) % 10)
0