Borderou de evaluare (job #3312914)

Utilizator Cyb3rBoltSbora Ioan-David Cyb3rBolt Data 30 septembrie 2025 19:27:20
Problema Mirror Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:32:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 32 | for(int i=k-1; i<c1.size(); i+=k) { | ~^~~~~~~~~~ main.cpp:44:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 44 | for(int j=0; j<curent.size(); j++) mat[j + 1][i] = curent[j]; | ~^~~~~~~~~~~~~~ main.cpp:51:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 51 | for(int j=0; j<curent.size(); j++) mat[j + 1][i] = curent[j]; | ~^~~~~~~~~~~~~~ main.cpp:65:58: warning: 'stOptim' may be used uninitialized [-Wmaybe-uninitialized] 65 | else if(lungCurent == maxim && start < stOptim) stOptim = start, drOptim = i - 1; | ~~~~~~^~~~~~~~~ main.cpp:54:25: note: 'stOptim' was declared here 54 | int maxim = -1, stOptim, drOptim; | ^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbIncorect0
30ms303kbOK10
41ms819kbIncorect0
54ms1605kbIncorect0
644ms9940kbOK10
79ms3440kbIncorect0
834ms12832kbIncorect0
934ms17731kbOK10
100ms557kbIncorect0
Punctaj total40

Ceva nu functioneaza?