結果
| 問題 | No.1285 ゴミ捨て |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-19 21:03:48 |
| 言語 | C++17(gcc12) (gcc 12.4.0 + boost 1.89.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 399 bytes |
| 記録 | |
| コンパイル時間 | 6,253 ms |
| コンパイル使用メモリ | 336,848 KB |
| 実行使用メモリ | 12,320 KB |
| 最終ジャッジ日時 | 2026-06-15 05:38:35 |
| 合計ジャッジ時間 | 8,094 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | WA * 1 RE * 21 |
コンパイルメッセージ
main.cpp:2:21: warning: extra tokens at end of #include directive
2 | #include "testlib.h";
| ^
ソースコード
#include <bits/stdc++.h>
#include "testlib.h";
using namespace std;
int main() {
registerValidation();
int n = inf.readInt(1, 100000, "n");
inf.readEoln();
set<int> s;
for (int i = 0; i < n * n; ++i) {
int a = inf.readInt(1, 1000000000, "a_i");
inf.readEoln();
assert(s.find(a) == s.end());
s.emplace(a);
}
inf.readEof();
return 0;
}