結果
問題 |
No.668 6.0*10^23
|
ユーザー |
![]() |
提出日時 | 2018-05-06 17:29:39 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 238 bytes |
コンパイル時間 | 391 ms |
コンパイル使用メモリ | 55,200 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-30 06:39:01 |
合計ジャッジ時間 | 1,654 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 50 |
ソースコード
#include<iostream> #include<string> using namespace std; int main() { string s; cin >> s; bool kuri = false; if(s[2]-'0' >=5) true; cout << s[0] << "." <<(kuri?(s[1]-'0')+1 : s[1]) << "*10^" << s.size() << endl; return 0; }