Borderou de evaluare (job #2914246)

Utilizator redsharkRed Shark redshark Data 19 iulie 2022 14:21:42
Problema Zelda Status done
Runda Algoritmiada 2022 - Runda 4 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void solve()': main.cpp:33:22: error: 'edges' was not declared in this scope 33 | for(const auto &it: edges) { | ^~~~~ main.cpp:37:3: error: 'edgeCost' was not declared in this scope 37 | edgeCost[{u, v}] = c; | ^~~~~~~~ main.cpp:39:23: error: 'subtreeSize' was not declared in this scope 39 | ans += ((long long) subtreeSize[u] * (n - subtreeSize[u]) % MOD) * c % MOD; | ^~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?