Borderou de evaluare (job #3364143)

Utilizator JenJenCristache Ion JenJen Data 30 august 2026 18:22:50
Problema Caramele Status done
Runda arhiva-vianu Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:20:24: error: 'DELTA' was not declared in this scope 20 | vector <short> Y[MAX + DELTA + 5]; | ^~~~~ main.cpp: In function 'bool exist(short int, short int)': main.cpp:25:16: error: 'Y' was not declared in this scope 25 | short dr = Y[y].size() - 1; | ^ main.cpp: In function 'int main()': main.cpp:55:14: error: 'DELTA' was not declared in this scope 55 | x += DELTA; | ^~~~~ main.cpp:68:9: error: 'Y' was not declared in this scope 68 | Y[y].push_back(x); | ^ main.cpp:73:14: error: 'Y' was not declared in this scope 73 | sort(Y[i].begin(), Y[i].end()); | ^ main.cpp:78:21: error: 'Y' was not declared in this scope 78 | short siz = Y[y].size(); | ^ Non zero exit status: 1

Ceva nu functioneaza?