結果
問題 |
No.1489 Repeat Cumulative Sum
|
ユーザー |
![]() |
提出日時 | 2021-04-06 21:13:28 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 687 bytes |
コンパイル時間 | 6,461 ms |
コンパイル使用メモリ | 224,260 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-04 04:31:25 |
合計ジャッジ時間 | 7,549 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 27 |
ソースコード
#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); inf.readSpace(); long long M = inf.readLong((long long)2, (long long)1000000000000000000); inf.readEoln(); vector<long long> A(N - 1); A[0] = inf.readLong((long long)1, (long long)1000000000); for (int i = 1; i < N - 1; i++) { inf.readSpace(); A[i] = inf.readInt((long long)1, (long long)1000000000); } inf.readEoln(); inf.readEof(); }