結果
| 問題 | No.1686 Geschenkt |
| コンテスト | |
| ユーザー |
ansain
|
| 提出日時 | 2021-06-01 20:23:50 |
| 言語 | C++17(gcc12) (gcc 12.4.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 697 bytes |
| 記録 | |
| コンパイル時間 | 5,336 ms |
| コンパイル使用メモリ | 258,772 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-20 17:26:50 |
| 合計ジャッジ時間 | 6,030 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 7 |
ソースコード
#include "testlib.h"
#include <vector>
#include <iostream>
#include <set>
#include <cassert>
const int MIN_N = 1;
const int MAX_N = 33;
const int MIN_A = 3;
const int MAX_A = 35;
int main(int argc, char** argv) {
registerValidation(argc, argv);
const int N = inf.readInt(MIN_N, MAX_N, "N");
inf.readEoln();
std::vector<int> A(N);
for (int i = 0; i < N; ++i) {
A[i] = inf.readInt(MIN_A, MAX_A, "A_i");
if (i + 1 == N) {
inf.readEoln();
} else {
inf.readSpace();
}
}
inf.readEof();
std::set<int> s2(A.begin(), A.end());
assert(s2.size() == N);
std::cout << "validator" << std::endl;
return 0;
}
ansain