結果
問題 |
No.668 6.0*10^23
|
ユーザー |
|
提出日時 | 2018-04-02 10:16:30 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 225 bytes |
コンパイル時間 | 1,059 ms |
コンパイル使用メモリ | 28,416 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-30 05:44:22 |
合計ジャッジ時間 | 1,470 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 47 WA * 3 |
ソースコード
#include<stdio.h> int main(void){ int a,b,c=2; a=getchar()-'0'; b=((getchar()-'0')*10+getchar()-'0'+5)/10; a+=b/10; if(a>=10){ b=0; a/=10; c++; } while(getchar()!='\n') c++; printf("%d.%d*10^%d\n",a,b,c); }