Borderou de evaluare (job #3189438)

Utilizator tryharderulbrebenel mihnea stefan tryharderul Data 5 ianuarie 2024 14:19:54
Problema Miting Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:22:5: error: 'fin' was not declared in this scope; did you mean 'sin'? 22 | fin>>cer>>n>>m; | ^~~ | sin main.cpp:24:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 24 | for(int i = 0;i < s.size();i++){ | ~~^~~~~~~~~~ main.cpp:25:16: warning: array subscript has type 'char' [-Wchar-subscripts] 25 | id[s[i]] = i; | ^ main.cpp:31:30: warning: array subscript has type 'char' [-Wchar-subscripts] 31 | pos[id[v[i][j]]] = {i,j}; | ~~~~~~^ main.cpp:44:9: error: 'fout' was not declared in this scope; did you mean 'out'? 44 | fout<<(rmax - rmin + 1)*(lmax - lmin + 1); | ^~~~ | out main.cpp:113:5: error: 'fout' was not declared in this scope; did you mean 'out'? 113 | fout<<ans; | ^~~~ | out Non zero exit status: 1

Ceva nu functioneaza?