結果
| 問題 | No.668 6.0*10^23 |
| コンテスト | |
| ユーザー |
はむ吉🐹
|
| 提出日時 | 2018-03-24 20:09:36 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 281 bytes |
| 記録 | |
| コンパイル時間 | 1,319 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,580 KB |
| 最終ジャッジ日時 | 2026-03-19 23:59:31 |
| 合計ジャッジ時間 | 8,192 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 48 WA * 2 |
ソースコード
#!/usr/bin/env python3
import decimal
def to_scientific_notation(n):
return "{:.1e}".format(n).replace("e+", "*10^").replace("^0", "^")
def main():
n = decimal.Decimal(input())
res = to_scientific_notation(n)
print(res)
if __name__ == '__main__':
main()
はむ吉🐹