Borderou de evaluare (job #2548046)

Utilizator lucametehauDart Monkey lucametehau Data 16 februarie 2020 10:00:32
Problema Albinuta Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:11:1: error: 'vector' does not name a type vector <int> g[55]; ^~~~~~ main.cpp: In function 'int main()': main.cpp:20:7: error: 'g' was not declared in this scope g[i].push_back(x); ^ main.cpp:22:22: error: 'g' was not declared in this scope lcm = lcm * (int)g[i].size() / __gcd(lcm, (int)g[i].size()); ^ main.cpp:26:13: error: 'g' was not declared in this scope int nod = g[1][0], t = 2, realt = 1; ^ main.cpp:28:18: error: 't' was not declared in this scope if(!ind[nod][t]) { ^ main.cpp:29:7: error: 'realt' was not declared in this scope realt++; ^~~~~ main.cpp:37:12: error: 'realt' was not declared in this scope int lg = realt - ind[nod][t] + 1, lg2 = ind[nod][t] - 1; ^~~~~ main.cpp:37:29: error: 't' was not declared in this scope int lg = realt - ind[nod][t] + 1, lg2 = ind[nod][t] - 1; ^ main.cpp:40:13: error: 'lg2' was not declared in this scope if(x <= lg2) ^~~ Non zero exit status: 1

Ceva nu functioneaza?