結果

問題 No.219 巨大数の概算
ユーザー 👑 KazunKazun
提出日時 2021-02-10 03:45:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 138 ms / 1,500 ms
コード長 309 bytes
コンパイル時間 1,038 ms
コンパイル使用メモリ 87,328 KB
実行使用メモリ 80,456 KB
最終ジャッジ日時 2023-09-21 19:07:07
合計ジャッジ時間 12,335 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 135 ms
80,112 KB
testcase_01 AC 134 ms
79,988 KB
testcase_02 AC 134 ms
79,960 KB
testcase_03 AC 133 ms
79,916 KB
testcase_04 AC 116 ms
79,668 KB
testcase_05 AC 72 ms
71,896 KB
testcase_06 AC 91 ms
77,032 KB
testcase_07 AC 71 ms
71,592 KB
testcase_08 AC 91 ms
77,032 KB
testcase_09 AC 71 ms
71,960 KB
testcase_10 AC 135 ms
80,000 KB
testcase_11 AC 134 ms
80,012 KB
testcase_12 AC 134 ms
79,888 KB
testcase_13 AC 136 ms
80,140 KB
testcase_14 AC 137 ms
79,760 KB
testcase_15 AC 134 ms
80,104 KB
testcase_16 AC 135 ms
79,764 KB
testcase_17 AC 134 ms
79,884 KB
testcase_18 AC 133 ms
80,116 KB
testcase_19 AC 137 ms
79,984 KB
testcase_20 AC 137 ms
79,912 KB
testcase_21 AC 137 ms
79,908 KB
testcase_22 AC 136 ms
80,108 KB
testcase_23 AC 133 ms
80,036 KB
testcase_24 AC 138 ms
79,980 KB
testcase_25 AC 135 ms
80,304 KB
testcase_26 AC 135 ms
79,984 KB
testcase_27 AC 136 ms
79,844 KB
testcase_28 AC 136 ms
80,244 KB
testcase_29 AC 138 ms
80,112 KB
testcase_30 AC 136 ms
80,024 KB
testcase_31 AC 135 ms
80,044 KB
testcase_32 AC 135 ms
80,044 KB
testcase_33 AC 135 ms
80,104 KB
testcase_34 AC 134 ms
80,040 KB
testcase_35 AC 135 ms
80,184 KB
testcase_36 AC 132 ms
79,812 KB
testcase_37 AC 134 ms
79,968 KB
testcase_38 AC 134 ms
79,908 KB
testcase_39 AC 134 ms
80,040 KB
testcase_40 AC 133 ms
79,968 KB
testcase_41 AC 138 ms
80,020 KB
testcase_42 AC 136 ms
80,140 KB
testcase_43 AC 135 ms
79,964 KB
testcase_44 AC 137 ms
80,104 KB
testcase_45 AC 137 ms
79,848 KB
testcase_46 AC 135 ms
79,848 KB
testcase_47 AC 138 ms
79,872 KB
testcase_48 AC 138 ms
80,456 KB
testcase_49 AC 137 ms
79,980 KB
testcase_50 AC 137 ms
79,708 KB
testcase_51 AC 72 ms
71,728 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from math import log10
input=sys.stdin.readline
write=sys.stdout.readline

N=int(input())
X=[]
for _ in range(N):
    A,B=map(int,input().split())
    L=log10(A)*B
    s,t=str(L).split(".")
    t="0."+t
    u=str(pow(10,float(t)))+".0"

    X.append((u[0],u[2],s))

for a,b,c in X:
    print(a,b,c)
0