結果
| 問題 | No.219 巨大数の概算 |
| コンテスト | |
| ユーザー |
togatoga
|
| 提出日時 | 2015-08-21 00:49:20 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 173 ms / 1,500 ms |
| コード長 | 227 bytes |
| コンパイル時間 | 156 ms |
| コンパイル使用メモリ | 77,852 KB |
| 最終ジャッジ日時 | 2025-12-03 16:21:27 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 51 |
ソースコード
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
togatoga