結果

問題 No.1489 Repeat Cumulative Sum
コンテスト
ユーザー magsta
提出日時 2021-04-06 21:12:41
言語 C++14
(gcc 15.2.0 + boost 1.89.0)
コンパイル:
g++-15 -O2 -lm -std=c++14 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
RE  
実行時間 -
コード長 621 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 6,437 ms
コンパイル使用メモリ 262,428 KB
実行使用メモリ 6,144 KB
最終ジャッジ日時 2026-03-25 13:06:24
合計ジャッジ時間 7,272 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 3
other RE * 27
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <iostream>
#include <string>
#include <algorithm>
#include <utility>
#include <cmath>
#include <cstdlib>
#include <map>
#include <set>
#include <queue>
#include <vector>
#include "testlib.h"
using namespace std;

int main() {
    long long N = inf.readLong((long long)2, (long long)100000);
    long long M = inf.readLong((long long)2, (long long)1000000000000000000);
    inf.readEoln();
    vector<long long> A(N - 1);
    A[0] = inf.readInt(1, 1000000000);
    for (int i = 1; i < N - 1; i++) {
        inf.readSpace();
        A[i] = inf.readInt(1, 1000000000);
    }
    inf.readEoln();
    inf.readEof();
}
0