Borderou de evaluare (job #2966765)

Utilizator ingrid2328Nagy Ingrid ingrid2328 Data 18 ianuarie 2023 13:30:00
Problema Cifre 5 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:12:1: error: 'cate' does not name a type 12 | cate[10] ={2, 7, 2, 3, 3, 4, 2, 5, 1, 2}; | ^~~~ main.cpp: In function 'int main()': main.cpp:38:16: error: 'cate' was not declared in this scope 38 | perm *= cate[cf[j]]; | ^~~~ main.cpp:40:27: warning: array subscript has type 'char' [-Wchar-subscripts] 40 | r2 += perm * sol[cf[i]]; | ~~~~^ Non zero exit status: 1

Ceva nu functioneaza?