結果
問題 |
No.219 巨大数の概算
|
ユーザー |
|
提出日時 | 2019-08-24 23:56:44 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 289 bytes |
コンパイル時間 | 2,644 ms |
コンパイル使用メモリ | 192,944 KB |
最終ジャッジ日時 | 2025-01-07 14:52:28 |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | WA * 51 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { int n;cin>>n; while (n--) { ll a,b; cin>>a>>b; double c=b*log10(a); int d=pow(10,c-floor(c)+1); cout<<d/10<<' '<<d%10<<' '<<(int)c<<endl; } return 0; }