結果

問題 No.3104 Simple Graph Problem
ユーザー noya2
提出日時 2025-04-08 03:00:03
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 575 bytes
コンパイル時間 3,018 ms
コンパイル使用メモリ 275,756 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-04-08 03:00:14
合計ジャッジ時間 9,086 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 RE * 2
other RE * 65
権限があれば一括ダウンロードができます

ソースコード

diff #

// sample 3 check

#include <bits/stdc++.h>
using namespace std;
using ll = long long;

void solve(){
    int n, m; cin >> n >> m;
    vector<int> a(n);
    for (int i = 0; i < n; i++){
        cin >> a[i];
    }
    for (int i = 0; i < m; i++){
        int u, v; cin >> u >> v;
    }
    vector<int> tmp = {2,3,4,5,6};
    if (n == 5 && m == 10 && a == tmp){
        cout << "5 998244351 4 998244348 1 998244349 1 0 5 5\n";
        return ;
    }
    else {
        exit(1);
    }
}

int main(){
    int t = 1;
    // std::cin >> t;
    while (t--){
        solve();
    }
}
0