結果
| 問題 | No.219 巨大数の概算 |
| コンテスト | |
| ユーザー |
fiord
|
| 提出日時 | 2015-08-02 00:47:17 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 251 bytes |
| 記録 | |
| コンパイル時間 | 1,435 ms |
| コンパイル使用メモリ | 175,104 KB |
| 実行使用メモリ | 181,376 KB |
| 最終ジャッジ日時 | 2026-04-01 15:58:03 |
| 合計ジャッジ時間 | 7,609 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 51 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
int n; cin>>n;
while(n--){
int a,b; cin>>a>>b;
long double tem=b*(double)(log10(a));
int num=pow(10,(tem-(int)tem)+1);
cout<<num/10<<" "<<num%10<<" "<<(int)tem<<endl;
}
return 0;
}
fiord