結果
| 問題 | 
                            No.668 6.0*10^23
                             | 
                    
| コンテスト | |
| ユーザー | 
                             syunsuke
                         | 
                    
| 提出日時 | 2018-08-26 22:19:11 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 287 bytes | 
| コンパイル時間 | 90 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 11,136 KB | 
| 最終ジャッジ日時 | 2024-07-01 04:00:54 | 
| 合計ジャッジ時間 | 2,910 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 3 WA * 47 | 
ソースコード
s=input()
S=[0,0,0]
S[0]=int(s[0])
S[1]=int(s[1])
S[2]=int(s[2])
if S[0]==9 and S[1]==9 and S[2]>=5:
    print("1.0*10^"+str(len(S)))
elif S[2]>=5:
    if S[1]<=8:
        S[1]+=1
    elif S[1]==9:
        S[0]+=1
        S[1]=0
    print(str(S[0])+"."+str(S[1])+"*10^"+str(len(S)-1))
            
            
            
        
            
syunsuke