結果

問題 No.668 6.0*10^23
ユーザー eQe
提出日時 2020-05-08 02:28:28
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 52 ms / 2,000 ms
コード長 411 bytes
コンパイル時間 147 ms
コンパイル使用メモリ 82,412 KB
実行使用メモリ 63,064 KB
最終ジャッジ日時 2024-07-03 09:44:22
合計ジャッジ時間 4,022 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 50
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
from math import sqrt
import sys
from collections import deque, defaultdict
from heapq import heappop, heappush
from copy import deepcopy

INF=10**18
MOD=10**9+7
MAX=10**5+7

def main():
  s=input()

  n=int(s[:2])
  if int(s[2])>=5: n+=1

  if n==100:
    print("1.0*10^{}".format(len(s)))
  else:
    print("{}.{}*10^{}".format(n//10, n%10, len(s)-1))

  
if __name__ == '__main__':
    main()



0