結果
| 問題 | No.1555 Constructed Balancing Sequence |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-01-06 10:20:16 |
| 言語 | C++17(gcc12) (gcc 12.4.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 758 bytes |
| 記録 | |
| コンパイル時間 | 6,207 ms |
| コンパイル使用メモリ | 268,524 KB |
| 実行使用メモリ | 7,972 KB |
| 最終ジャッジ日時 | 2026-06-16 08:58:52 |
| 合計ジャッジ時間 | 8,780 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 15 RE * 27 |
ソースコード
#include"testlib.h"
#include<iostream>
#include<vector>
#include<string>
#include<map>
#include<set>
#include<queue>
#include<algorithm>
#include<cmath>
#include<iomanip>
#include<random>
#include<stdio.h>
using namespace std;
typedef long long ll;
const long long MIN_N = 2;
const long long MAX_N = 1500;
const long long MIN_K = 1;
const long long MAX_K = 1500;
void validate(){
long long N = inf.readLong(MIN_N,MAX_N,"N");
inf.readSpace();
long long K = inf.readLong(MIN_K,MAX_K,"K");
inf.readEoln();
for (long long i=0;i<N;i++){
inf.readLong(-K,K);
if (i!=N-1){
inf.readSpace();
}
else{
inf.readEoln();
}
}
inf.readEof();
}
int main(int argc, char* argv[]){
registerValidation(argc,argv);
validate();
}