結果
| 問題 | No.3463 Beltway |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-02-28 15:19:10 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 313 bytes |
| 記録 | |
| コンパイル時間 | 3,268 ms |
| コンパイル使用メモリ | 339,148 KB |
| 実行使用メモリ | 16,256 KB |
| 最終ジャッジ日時 | 2026-02-28 15:52:22 |
| 合計ジャッジ時間 | 6,257 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge7 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 17 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
using ll=long long;
int main(){
ll V,E,S,G;
cin>>V>>E>>S>>G;
set<array<ll,2>> EDGE_set;
for(int i=0;i<E;i++){
ll A,B;
cin>>A>>B;
if(A>B)swap(A,B);
assert(!EDGE_set.count({A,B}));
EDGE_set.insert({A,B});
}
}