122382024-12-10 11:53:28Leventusz09XORfa visszatércpp17Forditási hiba
/*#include <bits/stdc++.h>

using namespace std;

int main(){
    int N, Q;
    int u[N], v[N], w[N-1];

    cin >> N >> Q;

    for(int i=0; i<N; i++){
        cin >> u[i] >> v[i] >> w[i];
        u[i]--;
        v[i]--;
        w[i]--;
    }

    bool I[N];
    int len=0;
    //vector<int> I;
    int p;
    for(int _=0; _<Q; _++){
        cin >> p;
        I[p-1] = !I[p-1];
        if(I[p-1]) len++;
        else len--;

        if(len < 2){
            cout << 0 << "\n";
            continue;
        }


        for(int i=0; i<N; i++){
            if(u[i])
        }
    }

    cout << "Hello world!" << endl;
    return 0;
}
*/
Forditási hiba
open /var/local/lib/isolate/425/box/a.out: no such file or directory
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status