Borderou de evaluare (job #2704015)

Utilizator Uriesu_IuliusUriesu Iulius Uriesu_Iulius Data 9 februarie 2021 17:35:33
Problema Mex2d Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void Rezolvare()': main.cpp:59:15: error: found ':' in nested-name-specifier, expected '::' for(k : a[x]) ^ main.cpp:59:13: error: 'k' is not a class, namespace, or enumeration for(k : a[x]) ^ main.cpp:65:9: error: expected primary-expression before 'for' for(i=lin_complete; i<n; i++) ^~~ main.cpp:65:9: error: expected ';' before 'for' main.cpp:65:9: error: expected primary-expression before 'for' main.cpp:65:9: error: expected ')' before 'for' main.cpp:54:13: warning: unused variable 'k' [-Wunused-variable] Pozitie k; ^ Non zero exit status: 1

Ceva nu functioneaza?