結果
| 問題 | No.3510 RPS Eliminations |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-03-18 13:09:12 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 1,357 bytes |
| 記録 | |
| コンパイル時間 | 8,414 ms |
| コンパイル使用メモリ | 444,236 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-17 19:41:46 |
| 合計ジャッジ時間 | 10,230 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 1 |
| other | RE * 28 |
ソースコード
#include "testlib.h"
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pll = pair<ll, ll>;
#define all(a) begin(a), end(a)
#define space inf.readChar(' ')
#define endl inf.readChar('\n')
#define eof inf.readEof()
tuple<ll> read(ll min, ll max){
ll a = inf.readLong(min, max);
endl;
return tuple{a};
}
template<class... T> auto read(ll min, ll max, T... t){
ll a = inf.readLong(min, max);
space;
return tuple_cat(tuple{a}, read(t...));
}
string read(string p){
return inf.readLine(p);
}
vector<ll> reads(ll N, ll min, ll max){
auto a = inf.readLongs(N, min, max);
endl;
return a;
}
vector<string> read_lines(ll N, string p){
return inf.readLines(N, p);
}
template<class... T> auto read_lines(ll N, T... t){
vector<decltype(read(t...))> a;
a.reserve(N);
while(N--) a.push_back(read(t...));
return a;
}
vector<vector<ll>> read_matrix(ll H, ll W, ll min, ll max){
vector<vector<ll>> ans(H);
for(auto& v : ans) v = reads(W, min, max);
return ans;
}
const long long MIN_N = 2;
const long long MAX_N = 100000;
int main() {
registerValidation();
long long N = inf.readLong(MIN_N, MAX_N);
inf.readEoln();
for (int i = 0; i < N; i++) {
inf.readInt(1,N - 1);
if(i != N - 1) inf.readSpace();
}
inf.readEoln();
inf.readEof();
}