Borderou de evaluare (job #2357144)

Utilizator dimos123Cretu Mihail-Dimosthenis dimos123 Data 27 februarie 2019 10:09:48
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 44

Raport evaluator

Compilare: main.cpp: In function 'int calculam_cantitatea(char*, int*, int&, int&)': main.cpp:24:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In function 'int separare(char*, char (*)[40], int*)': main.cpp:28:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(a);i++) ~^~~~~~~~~~ main.cpp:36:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(a[i]==' ') ^~~~~ main.cpp:38:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' calculam_cantitatea(a,cantitate,j,i); ^~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:45:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(a);i++) ~^~~~~~~~~~ main.cpp:64:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int k=j;k<=i;k++) ^~~ main.cpp:70:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' g<< timp <<'\n'; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK!10
22ms131kbAfisarea Ingredientelor gresita3
32ms131kbAfisarea Ingredientelor gresita3
43ms131kbOK!10
52ms131kbAfisarea Ingredientelor gresita3
62ms131kbAfisarea Ingredientelor gresita3
72ms131kbAfisarea Ingredientelor gresita3
82ms131kbAfisarea Ingredientelor gresita3
92ms131kbAfisarea Ingredientelor gresita3
102ms131kbAfisarea Ingredientelor gresita3
Punctaj total44

Ceva nu functioneaza?