結果

問題 No.219 巨大数の概算
ユーザー togatogatogatoga
提出日時 2015-08-21 00:49:20
言語 Python2
(2.7.18)
結果
AC  
実行時間 65 ms / 1,500 ms
コード長 227 bytes
コンパイル時間 66 ms
コンパイル使用メモリ 6,524 KB
実行使用メモリ 6,964 KB
最終ジャッジ日時 2023-09-25 14:26:41
合計ジャッジ時間 6,269 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
6,932 KB
testcase_01 AC 65 ms
6,868 KB
testcase_02 AC 63 ms
6,924 KB
testcase_03 AC 62 ms
6,880 KB
testcase_04 AC 61 ms
6,540 KB
testcase_05 AC 11 ms
6,488 KB
testcase_06 AC 17 ms
6,600 KB
testcase_07 AC 12 ms
6,280 KB
testcase_08 AC 16 ms
6,568 KB
testcase_09 AC 11 ms
6,608 KB
testcase_10 AC 64 ms
6,888 KB
testcase_11 AC 61 ms
6,884 KB
testcase_12 AC 62 ms
6,796 KB
testcase_13 AC 61 ms
6,812 KB
testcase_14 AC 63 ms
6,676 KB
testcase_15 AC 62 ms
6,668 KB
testcase_16 AC 63 ms
6,684 KB
testcase_17 AC 63 ms
6,696 KB
testcase_18 AC 62 ms
6,912 KB
testcase_19 AC 62 ms
6,812 KB
testcase_20 AC 62 ms
6,848 KB
testcase_21 AC 63 ms
6,664 KB
testcase_22 AC 62 ms
6,664 KB
testcase_23 AC 62 ms
6,688 KB
testcase_24 AC 63 ms
6,876 KB
testcase_25 AC 63 ms
6,888 KB
testcase_26 AC 64 ms
6,700 KB
testcase_27 AC 63 ms
6,812 KB
testcase_28 AC 63 ms
6,852 KB
testcase_29 AC 63 ms
6,848 KB
testcase_30 AC 62 ms
6,812 KB
testcase_31 AC 62 ms
6,888 KB
testcase_32 AC 63 ms
6,852 KB
testcase_33 AC 62 ms
6,700 KB
testcase_34 AC 62 ms
6,824 KB
testcase_35 AC 62 ms
6,888 KB
testcase_36 AC 63 ms
6,828 KB
testcase_37 AC 62 ms
6,932 KB
testcase_38 AC 63 ms
6,688 KB
testcase_39 AC 63 ms
6,964 KB
testcase_40 AC 63 ms
6,884 KB
testcase_41 AC 63 ms
6,696 KB
testcase_42 AC 62 ms
6,744 KB
testcase_43 AC 63 ms
6,940 KB
testcase_44 AC 63 ms
6,848 KB
testcase_45 AC 63 ms
6,880 KB
testcase_46 AC 62 ms
6,748 KB
testcase_47 AC 62 ms
6,668 KB
testcase_48 AC 63 ms
6,932 KB
testcase_49 AC 63 ms
6,684 KB
testcase_50 AC 64 ms
6,764 KB
testcase_51 AC 11 ms
6,508 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
N = input()
ans = 1e30
for i in range(N):
    a,b = map(int, raw_input().split())
    P = math.log10(a) * b
    Z = int(math.log10(a) * b)
    XY = pow(10.0, (P - int(P)))
    print int(XY),int(int(XY * 10) % 10),Z
0