Submission #1013891

# Submission time Handle Problem Language Result Execution time Memory
1013891 2024-07-04T07:41:52 Z Ariadna Airplane (NOI23_airplane) C++14
0 / 100
0 ms 348 KB
#include <bits/stdc++.h>
#define ll long long
#define pb push_back

using namespace std;

vector<int> a;
vector<vector<int>> adj;

int main() {
    ll n, m;
    cin >> n >> m;
    a = vector<int>(n);
    adj = vector<vector<int>>(n);
    for (int i = 0; i < n; ++i) cin >> a[i];
    while (m--) {
        int u, v;
        cin >> u >> v;
        --u; --v;
        adj[u].pb(v);
        adj[v].pb(u);
    }

    cout << 2*n << '\n';

    return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Output isn't correct
2 Halted 0 ms 0 KB -