結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー gacha_kei
提出日時 2015-08-19 22:07:43
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 312 bytes
コンパイル時間 521 ms
コンパイル使用メモリ 58,584 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-18 10:35:38
合計ジャッジ時間 1,134 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 14 WA * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
#include <cmath>
#include <cstdio>

using namespace std;

int main()
{
    int N;
    cin >> N;

    double total = 0.0;
    double tmp;

    for (int i = 0; i < N; i++)
    {
        cin >> tmp;
        total += tmp;
    }

    printf("%.10lf", total);
    cout << endl;

}
0