Submission #980239

# Submission time Handle Problem Language Result Execution time Memory
980239 2024-05-12T01:32:09 Z vjudge1 Closing Time (IOI23_closing) C++17
Compilation error
0 ms 0 KB
// hola soy Dember :D
// 31/03/2024

#include "closing.h"
#include <bits/stdc++.h>

#define ll long long 
#define pll pair<ll,ll>
#define f first
#define s second 
#define Z size()
#define pb push_back
#define bp pop_back
#define fo(x,y,z) for(ll x=y; x<=z; x++)
#define of(x,y,z) for(ll x=y; x>=z; x--)
#define all(n) n.begin(), n.end()
#define arr(x,y,z) x+y, x+y+z

using namespace std;

ll n, x, y, k;
int  ans;
void q1(){
    queue<int> q;
    q.push(x);
    while(!q.empty()){
        auto u = q.front(); q.pop();
        for(auto &e:a[u]){
            ll v=e.f, w=e.s;
            q.push(v);
        }
    }
    return;
}

int max_score(int N, int X, int Y, ll K, vector<int>U, vector<int>V, vector<int>W) {
    
    return ans;
}

Compilation message

closing.cpp: In function 'void q1()':
closing.cpp:28:21: error: 'a' was not declared in this scope
   28 |         for(auto &e:a[u]){
      |                     ^