Borderou de evaluare (job #2404315)

Utilizator mariasmmskklns mariasmm Data 12 aprilie 2019 15:38:30
Problema Perle Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int primadata()': main.cpp:46:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In function 'int verifica()': main.cpp:50:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while((p<=perle.size())&&(nu!=-1)&&(perle.size()<=m+1)) ~^~~~~~~~~~~~~~ main.cpp:50:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while((p<=perle.size())&&(nu!=-1)&&(perle.size()<=m+1)) ~~~~~~~~~~~~^~~~~ main.cpp:69:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else nu=-1; break; ^~~~ main.cpp:69:19: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' else nu=-1; break; ^~~~~ main.cpp:90:14: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ main.cpp:91:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' nu=-1; break; ^~~~~ main.cpp:94:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=1; i<v.size();i++) ~^~~~~~~~~ main.cpp:96:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=1; i<perle.size();i++) ~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:111:6: warning: unused variable 'nu' [-Wunused-variable] int nu=0; ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK!10
22ms131kbRaspuns gresit!0
32ms131kbRaspuns gresit!0
43ms131kbRaspuns gresit!0
52ms131kbRaspuns gresit!0
62ms131kbRaspuns gresit!0
73ms131kbRaspuns gresit!0
88ms131kbRaspuns gresit!0
99ms131kbRaspuns gresit!0
1015ms131kbRaspuns gresit!0
Punctaj total10

Ceva nu functioneaza?