結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー cureskol
提出日時 2020-03-29 15:14:58
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 201 bytes
コンパイル時間 1,624 ms
コンパイル使用メモリ 160,224 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2025-01-02 13:29:09
合計ジャッジ時間 2,686 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

using ld=long double;

signed main(){
  int n;cin>>n;
  ld ans=0;
  while(n--){
    ld a;cin>>a;ans+=a;
  }
  cout<<fixed<<setprecision(10)<<ans<<endl;
}
0