Borderou de evaluare (job #2894860)

Utilizator CosminaBuruianaCosmina Buruiana CosminaBuruiana Data 28 aprilie 2022 14:49:54
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:22:13: error: 'k' was not declared in this scope 22 | k=0; | ^ main.cpp:24:29: error: expected initializer before '<' token 24 | while(unsigned k<h[ct].size()) | ^ main.cpp:24:29: error: expected ')' before '<' token 24 | while(unsigned k<h[ct].size()) | ~ ^ | ) main.cpp:24:29: error: expected primary-expression before '<' token main.cpp:24:28: warning: unused variable 'k' [-Wunused-variable] 24 | while(unsigned k<h[ct].size()) | ^ main.cpp:45:13: error: 'k' was not declared in this scope 45 | k=0; | ^ main.cpp:47:29: error: expected initializer before '<' token 47 | while(unsigned k<h[ct].size()) | ^ main.cpp:47:29: error: expected ')' before '<' token 47 | while(unsigned k<h[ct].size()) | ~ ^ | ) main.cpp:47:29: error: expected primary-expression before '<' token main.cpp:47:28: warning: unused variable 'k' [-Wunused-variable] 47 | while(unsigned k<h[ct].size()) | ^ main.cpp:65:13: error: 'k' was not declared in this scope 65 | k=0; | ^ main.cpp:66:29: error: expected initializer before '<' token 66 | while(unsigned k<h[ct].size()) | ^ main.cpp:66:29: error: expected ')' before '<' token 66 | while(unsigned k<h[ct].size()) | ~ ^ | ) main.cpp:66:29: error: expected primary-expression before '<' token main.cpp:66:28: warning: unused variable 'k' [-Wunused-variable] 66 | while(unsigned k<h[ct].size()) | ^ Non zero exit status: 1

Ceva nu functioneaza?