Borderou de evaluare (job #3131238)

Utilizator Theodor17Pirnog Theodor Ioan Theodor17 Data 19 mai 2023 16:35:13
Problema Atac Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int descompunere(int, int)': main.cpp:59:30: error: 't' was not declared in this scope 59 | int d = nivel[x] - nivel[t]; | ^ main.cpp: In function 'int atac(int, int)': main.cpp:84:9: warning: unused variable 'd' [-Wunused-variable] 84 | int d = nivel[x] - nivel[t]; | ^ Non zero exit status: 1

Ceva nu functioneaza?