Borderou de evaluare (job #2475853)

Utilizator stan_flaviusStan Flavius Stefan stan_flavius Data 17 octombrie 2019 17:49:46
Problema Copii Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int verif(int)': main.cpp:16:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In function 'int verif(int)': main.cpp:17:5: error: redefinition of 'int verif(int)' int verif(int k) ^~~~~ main.cpp:13:5: note: 'int verif(int)' previously defined here int verif(int k) ^~~~~ main.cpp:19:5: error: 'vector' was not declared in this scope vector<char>vec; ^~~~~~ main.cpp:19:12: error: expected primary-expression before 'char' vector<char>vec; ^~~~ main.cpp:28:19: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] s[ct]=NULL; ^~~~ main.cpp:29:13: error: 'vec' was not declared in this scope vec.push_back(s); ^~~ main.cpp:37:35: error: 'vec' was not declared in this scope for(int k=vec.begin(); k<=vec.end(); k++) ^~~ main.cpp:40:51: error: 'strchr' was not declared in this scope if(strchr(c,vec[k])!=NULL) ^ main.cpp:41:29: error: expected primary-expression before '}' token } ^ Non zero exit status: 1

Ceva nu functioneaza?