結果

問題 No.219 巨大数の概算
ユーザー rlangevinrlangevin
提出日時 2023-02-27 08:50:58
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 157 ms / 1,500 ms
コード長 219 bytes
コンパイル時間 774 ms
コンパイル使用メモリ 87,072 KB
実行使用メモリ 79,116 KB
最終ジャッジ日時 2023-10-12 19:50:20
合計ジャッジ時間 13,237 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 156 ms
78,900 KB
testcase_01 AC 155 ms
78,908 KB
testcase_02 AC 157 ms
78,964 KB
testcase_03 AC 157 ms
79,088 KB
testcase_04 AC 150 ms
78,464 KB
testcase_05 AC 77 ms
71,892 KB
testcase_06 AC 111 ms
77,216 KB
testcase_07 AC 77 ms
71,816 KB
testcase_08 AC 110 ms
77,212 KB
testcase_09 AC 76 ms
71,844 KB
testcase_10 AC 155 ms
78,700 KB
testcase_11 AC 152 ms
78,660 KB
testcase_12 AC 150 ms
78,868 KB
testcase_13 AC 149 ms
78,796 KB
testcase_14 AC 147 ms
78,924 KB
testcase_15 AC 155 ms
78,896 KB
testcase_16 AC 150 ms
79,116 KB
testcase_17 AC 156 ms
78,900 KB
testcase_18 AC 150 ms
78,932 KB
testcase_19 AC 153 ms
78,844 KB
testcase_20 AC 151 ms
78,636 KB
testcase_21 AC 151 ms
79,064 KB
testcase_22 AC 152 ms
79,044 KB
testcase_23 AC 149 ms
78,996 KB
testcase_24 AC 150 ms
78,968 KB
testcase_25 AC 151 ms
78,964 KB
testcase_26 AC 150 ms
78,980 KB
testcase_27 AC 155 ms
78,980 KB
testcase_28 AC 151 ms
78,980 KB
testcase_29 AC 151 ms
79,108 KB
testcase_30 AC 149 ms
78,768 KB
testcase_31 AC 150 ms
78,900 KB
testcase_32 AC 152 ms
78,932 KB
testcase_33 AC 151 ms
78,980 KB
testcase_34 AC 150 ms
78,992 KB
testcase_35 AC 149 ms
78,848 KB
testcase_36 AC 153 ms
78,844 KB
testcase_37 AC 153 ms
78,952 KB
testcase_38 AC 149 ms
78,776 KB
testcase_39 AC 152 ms
78,956 KB
testcase_40 AC 151 ms
78,972 KB
testcase_41 AC 151 ms
78,896 KB
testcase_42 AC 151 ms
78,908 KB
testcase_43 AC 149 ms
78,760 KB
testcase_44 AC 147 ms
78,844 KB
testcase_45 AC 149 ms
78,704 KB
testcase_46 AC 148 ms
78,868 KB
testcase_47 AC 152 ms
79,016 KB
testcase_48 AC 152 ms
78,604 KB
testcase_49 AC 149 ms
79,024 KB
testcase_50 AC 149 ms
78,792 KB
testcase_51 AC 73 ms
71,724 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import *

N = int(input())
for i in range(N):
    A, B = map(int, input().split())
    Z = B * log10(A)
    r = Z - int(Z)
    Z = int(Z)
    n = int(10 ** r * 10)
    X, Y = n // 10, n % 10
    print(X, Y, Z)
0