結果
| 問題 | No.2173 Nightcord |
| コンテスト | |
| ユーザー |
nok0
|
| 提出日時 | 2022-12-24 12:32:24 |
| 言語 | C++17(gcc12) (gcc 12.4.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 536 bytes |
| 記録 | |
| コンパイル時間 | 6,288 ms |
| コンパイル使用メモリ | 336,356 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-06-29 03:38:56 |
| 合計ジャッジ時間 | 7,669 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 54 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#include <atcoder/dsu>
#include "testlib.h"
int main() {
registerValidation();
int n = inf.readInt(3, 3000);
inf.readSpace();
int k = inf.readInt(3, n);
inf.readEoln();
set<pair<int, int>> st;
for(int i = 0; i < n; i++) {
int x = inf.readInt(-1000000000, 1000000000);
inf.readSpace();
int y = inf.readInt(-1000000000, 1000000000);
inf.readSpace();
int c = inf.readInt(1, 2);
inf.readEoln();
st.insert({x, y});
}
ensure(st.size() == n);
inf.readEof();
return 0;
}
nok0