結果
| 問題 | No.1888 Odd Insertion |
| コンテスト | |
| ユーザー |
miscalc
|
| 提出日時 | 2021-11-07 03:53:03 |
| 言語 | C++17(gcc12) (gcc 12.4.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 454 bytes |
| 記録 | |
| コンパイル時間 | 5,993 ms |
| コンパイル使用メモリ | 337,696 KB |
| 実行使用メモリ | 15,368 KB |
| 最終ジャッジ日時 | 2026-06-23 15:43:50 |
| 合計ジャッジ時間 | 13,260 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 37 |
ソースコード
#include <bits/stdc++.h>
#include "testlib.h"
using namespace std;
using ll = long long;
int main()
{
registerValidation();
ll N = inf.readLong(1LL, 200000LL);
inf.readEoln();
vector<ll> P(N);
for (int i = 0; i < N; i++)
{
P.at(i) = inf.readLong(1LL, N);
if (i < N - 1) inf.readSpace();
else inf.readEoln();
}
inf.readEof();
sort(P.begin(), P.end());
for (int i = 0; i < N; i++)
{
assert(P.at(i) == i + 1);
}
}
miscalc