Borderou de evaluare (job #2885578)

Utilizator Emma19Tiu Ema Emma19 Data 6 aprilie 2022 11:40:42
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:21:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 21 | for(int j =0 ;j < h[clasa].size() && ok ;j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:31:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | for(int j =0 ;j < h[clasa].size() ;j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:42:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 42 | for(int j =0 ;j < h[clasa].size() && ok==0 ;j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:42:11: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 42 | for(int j =0 ;j < h[clasa].size() && ok==0 ;j++) | ^~~ main.cpp:45:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 45 | g<<ok<<'\n'; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
115ms16216kbOK1010
218ms16166kbOK1010
330ms16220kbOK1010
4121ms16609kbOK1030
599ms17715kbOK10
6126ms19189kbOK10
7258ms19382kbOK1010
8815ms26030kbOK1030
9793ms30425kbOK10
10936ms28495kbOK10
Punctaj total100

Ceva nu functioneaza?