結果

問題 No.1285 ゴミ捨て
コンテスト
ユーザー first_vil
提出日時 2020-11-19 21:03:48
言語 C++17(gcc12)
(gcc 12.4.0 + boost 1.89.0)
コンパイル:
g++-12 -O2 -lm -std=c++17 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
RE  
実行時間 -
コード長 399 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 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";
      |                     ^

ソースコード

diff #
raw source code

#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;
}
0