結果
| 問題 | No.219 巨大数の概算 |
| コンテスト | |
| ユーザー |
not_522
|
| 提出日時 | 2015-08-04 00:36:21 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
J_TLE
|
| 実行時間 | - |
| コード長 | 296 bytes |
| 記録 | |
| コンパイル時間 | 806 ms |
| コンパイル使用メモリ | 177,332 KB |
| 実行使用メモリ | 19,044 KB |
| 最終ジャッジ日時 | 2026-08-16 04:24:33 |
| 合計ジャッジ時間 | 73,945 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 45 J_TLE * 6 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 0; i < n; ++i) {
double a, b;
cin >> a >> b;
double res = log10(a) * b;
int xy = pow(10, fmod(res, 1)) * 10;
cout << xy / 10 << " " << xy % 10 << " " << floor(res) << endl;
}
}
not_522