Borderou de evaluare (job #2227033)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 30 iulie 2018 23:09:00
Problema Dir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:22:11: error: ‘gets’ was not declared in this scope gets(s); ^ user.cpp:40:24: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] f[l + 1] = NULL; ^~~~ user.cpp:50:24: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] f[l + 1] = NULL; ^~~~ user.cpp:63:24: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] f[l + 1] = NULL; ^~~~ user.cpp:77:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < v.size() ; i ++) ~~^~~~~~~~~~ user.cpp:93:32: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] a[m][lungime[m]] = NULL; ^~~~ user.cpp:19:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dir.in" , "r" , stdin); ^ user.cpp:20:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dir.out" , "w" , stdout); ^

Ceva nu functioneaza?