結果
問題 | No.668 6.0*10^23 |
ユーザー |
![]() |
提出日時 | 2020-05-15 14:24:53 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 28 ms / 2,000 ms |
コード長 | 226 bytes |
コンパイル時間 | 331 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-09-18 23:51:14 |
合計ジャッジ時間 | 2,875 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 50 |
ソースコード
import sysinput=lambda: sys.stdin.readline().rstrip()N=input()c=len(N)-1a=int(N[0])b=int(N[1])if int(N[2])>=5:b+=1if b==10:a+=1b=0if a==10:a=1c+=1print(str(a)+"."+str(b)+"*10^"+str(c))