結果

問題 No.219 巨大数の概算
ユーザー nebukuro09nebukuro09
提出日時 2016-11-01 10:27:49
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 267 bytes
コンパイル時間 381 ms
コンパイル使用メモリ 7,132 KB
実行使用メモリ 6,524 KB
最終ジャッジ日時 2023-08-16 12:09:37
合計ジャッジ時間 10,652 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 97 ms
6,296 KB
testcase_01 AC 97 ms
6,352 KB
testcase_02 AC 98 ms
6,304 KB
testcase_03 AC 96 ms
6,416 KB
testcase_04 RE -
testcase_05 AC 11 ms
6,456 KB
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 AC 11 ms
6,288 KB
testcase_10 AC 97 ms
6,512 KB
testcase_11 AC 99 ms
6,476 KB
testcase_12 AC 96 ms
6,288 KB
testcase_13 AC 96 ms
6,460 KB
testcase_14 AC 97 ms
6,480 KB
testcase_15 AC 98 ms
6,460 KB
testcase_16 AC 98 ms
6,464 KB
testcase_17 AC 97 ms
6,276 KB
testcase_18 AC 97 ms
6,324 KB
testcase_19 AC 97 ms
6,420 KB
testcase_20 AC 97 ms
6,484 KB
testcase_21 AC 98 ms
6,456 KB
testcase_22 AC 96 ms
6,312 KB
testcase_23 AC 97 ms
6,280 KB
testcase_24 AC 96 ms
6,496 KB
testcase_25 AC 97 ms
6,496 KB
testcase_26 AC 97 ms
6,500 KB
testcase_27 AC 96 ms
6,516 KB
testcase_28 RE -
testcase_29 AC 98 ms
6,420 KB
testcase_30 AC 98 ms
6,520 KB
testcase_31 AC 97 ms
6,480 KB
testcase_32 AC 99 ms
6,276 KB
testcase_33 AC 96 ms
6,484 KB
testcase_34 AC 97 ms
6,356 KB
testcase_35 AC 97 ms
6,376 KB
testcase_36 AC 98 ms
6,460 KB
testcase_37 AC 97 ms
6,484 KB
testcase_38 AC 97 ms
6,376 KB
testcase_39 AC 97 ms
6,356 KB
testcase_40 AC 95 ms
6,416 KB
testcase_41 AC 98 ms
6,476 KB
testcase_42 AC 97 ms
6,288 KB
testcase_43 AC 96 ms
6,356 KB
testcase_44 AC 96 ms
6,288 KB
testcase_45 AC 97 ms
6,524 KB
testcase_46 AC 96 ms
6,292 KB
testcase_47 AC 97 ms
6,476 KB
testcase_48 AC 98 ms
6,452 KB
testcase_49 AC 97 ms
6,480 KB
testcase_50 AC 96 ms
6,472 KB
testcase_51 AC 12 ms
6,284 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import log10

def solve():
    A, B = map(int, raw_input().split())
    x = B*log10(A)
    n = int(x)
    m = x-int(x)
    i = 10
    while log10(i/10.) < m:
        i += 1
    i -= 1
    print str(i)[0], str(i)[1], n

for _ in xrange(input()):
    solve()
0