結果
問題 |
No.81 すべて足すだけの簡単なお仕事です。
|
ユーザー |
![]() |
提出日時 | 2021-02-07 00:55:31 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 353 bytes |
コンパイル時間 | 78 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-07-03 12:55:18 |
合計ジャッジ時間 | 1,931 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 WA * 5 |
ソースコード
N=int(input()) S=0 for i in range(N): A=input() if "." in A: x=A.index(".") A+="0"*(11-len(A)+x) #print(x,len(A)-x,A) B="" for a in A: if a!=".": B+=a #print(B) S+=int(B) else: S+=int(A)*10**10 #print(S) S=str(S) S=S[:-10]+"."+S[-10:] print(S)