結果
| 問題 | No.668 6.0*10^23 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-07-17 23:15:43 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 368 bytes |
| 記録 | |
| コンパイル時間 | 545 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 20,936 KB |
| 最終ジャッジ日時 | 2026-05-23 19:56:47 |
| 合計ジャッジ時間 | 14,750 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 WA * 3 RE * 40 |
ソースコード
def main():
N = input()
n = len(N) - 3
num = int(N) / 10 ** n
if len(N) < len(str(int(round(num, -1)))):
ans_1 = round(num, -1) / 10 ** 3
else:
ans_1 = round(num, -1) / 10 ** 2
n_target = len(str(round(int(N), 2 - len(N))))
ans_2 = n_target - 1
print(str(ans_1)+'*10^'+str(ans_2))
if __name__ == '__main__':
main()