結果

問題 No.219 巨大数の概算
ユーザー ktshun
提出日時 2015-06-01 18:42:23
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 222 bytes
コンパイル時間 145 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-06 13:15:38
合計ジャッジ時間 7,355 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other RE * 51
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding:utf-8 -*-
import math

if __name__ == "__main__":
	n = input()
	for i in xrange(n):
		a,b = map(int,raw_input().split())
		z = int(b * math.log10(a))
		s = str(pow(10,b*math.log10(a)) - z)
		print s[0],s[1],z
0