結果
| 問題 |
No.1489 Repeat Cumulative Sum
|
| コンテスト | |
| ユーザー |
magsta
|
| 提出日時 | 2021-04-06 21:14:22 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 713 bytes |
| コンパイル時間 | 6,516 ms |
| コンパイル使用メモリ | 224,424 KB |
| 実行使用メモリ | 8,552 KB |
| 最終ジャッジ日時 | 2024-07-04 04:31:16 |
| 合計ジャッジ時間 | 7,978 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 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() {
registerValidation();
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();
}
magsta