結果
| 問題 | No.668 6.0*10^23 |
| コンテスト | |
| ユーザー |
ebicochineal
|
| 提出日時 | 2018-03-23 23:01:39 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 268 bytes |
| 記録 | |
| コンパイル時間 | 81 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-06-30 05:21:07 |
| 合計ジャッジ時間 | 2,590 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 1 RE * 40 |
ソースコード
#! /usr/bin/env python3
import math
def my_round(x, d=0):
p = 10 ** d
return float(math.floor((x * p) + math.copysign(0.5, x)))/p
N = input()
l = len(N)-2
n = int(N)
x = my_round(n/10**l)/10
if x > 9:
x //= 10
l += 1
print(str(x)+'*'+'10'+'^'+str(l+1))
ebicochineal