結果

問題 No.668 6.0*10^23
ユーザー Ribura
提出日時 2020-05-19 22:41:03
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 344 bytes
コンパイル時間 129 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 11,136 KB
最終ジャッジ日時 2024-10-01 23:09:12
合計ジャッジ時間 3,408 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 36 WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10 ** 7)

n = readline().rstrip().decode()
a = int(n[0])
b = int(n[1]) + 1 if int(n[2]) >= 5 else 0
c = len(n) - 1
if b == 10:
    b = 0
    a += 1
if a == 10:
    c += 1
    a = 1
print(f'{a}.{b}*10^{c}')
0