結果
| 問題 |
No.668 6.0*10^23
|
| コンテスト | |
| ユーザー |
syunsuke
|
| 提出日時 | 2018-08-26 22:16:51 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 282 bytes |
| コンパイル時間 | 89 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 11,136 KB |
| 最終ジャッジ日時 | 2024-07-01 04:00:42 |
| 合計ジャッジ時間 | 3,050 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 50 |
ソースコード
s=str(input())
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