結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー pessimist
提出日時 2025-06-18 16:07:15
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 351 bytes
コンパイル時間 1,656 ms
コンパイル使用メモリ 159,844 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-06-18 16:07:18
合計ジャッジ時間 2,365 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

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

void solve(){
    int N; cin>>N;
    long double sum=0;
    for(int i=0;i<N;++i){
        long double x; cin>>x;
        sum+=x;
    }
    cout<<fixed<<setprecision(12)<<sum;
}
int main(){
    ios::sync_with_stdio(0);
    cin.tie(0);
    int t=1; //cin>>t;
    for(;t--;) solve();
}
0