結果
| 問題 | No.668 6.0*10^23 |
| コンテスト | |
| ユーザー |
takakin
|
| 提出日時 | 2020-05-15 14:24:53 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 101 ms / 2,000 ms |
| コード長 | 226 bytes |
| 記録 | |
| コンパイル時間 | 503 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-04-07 02:08:12 |
| 合計ジャッジ時間 | 10,753 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 50 |
ソースコード
import sys
input=lambda: sys.stdin.readline().rstrip()
N=input()
c=len(N)-1
a=int(N[0])
b=int(N[1])
if int(N[2])>=5:
b+=1
if b==10:
a+=1
b=0
if a==10:
a=1
c+=1
print(str(a)+"."+str(b)+"*10^"+str(c))
takakin