Borderou de evaluare (job #3284597)

Utilizator robert111Peter Robert robert111 Data 11 martie 2025 22:24:04
Problema Polihroniade Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'bool cer1(int)': main.cpp:13:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 13 | for(int i=0;i<n;i++) | ^~~ main.cpp:24:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 24 | if(cnt1!=n)return 0; | ^~ main.cpp: In function 'int cer23(int)': main.cpp:94:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 94 | for(int i=0;i<C1.size();i++) | ~^~~~~~~~~~ main.cpp:105:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 105 | for(int i=0;i<C1.size();i++) | ~^~~~~~~~~~ main.cpp:121:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 121 | for(int i=0;i<C1.size();i++) | ~^~~~~~~~~~ main.cpp:132:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 132 | for(int i=0;i<C1.size();i++) | ~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:147:18: warning: unused variable 'ok' [-Wunused-variable] 147 | bool ok=0; | ^~ main.cpp:164:18: warning: unused variable 'ok' [-Wunused-variable] 164 | bool ok=0; | ^~ main.cpp: In function 'int cer23(int)': main.cpp:136:1: warning: control reaches end of non-void function [-Wreturn-type] 136 | } | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms557kbCorect!14
27ms1605kbCorect!13
39ms2301kbCorect!13
40ms303kbGresit!0
51ms303kbGresit!0
62ms512kbGresit!0
73ms557kbGresit!0
84ms802kbGresit!0
99ms1257kbGresit!0
105ms442kbKilled by Signal 110
118ms466kbKilled by Signal 110
128ms516kbKilled by Signal 110
134ms618kbKilled by Signal 110
144ms831kbKilled by Signal 110
1510ms1429kbKilled by Signal 110
Punctaj total40

Ceva nu functioneaza?