Pagini recente » Borderou de evaluare (job #2483794) | Borderou de evaluare (job #150304) | Borderou de evaluare (job #1781117) | Borderou de evaluare (job #2095275) | Borderou de evaluare (job #2357144)
Borderou de evaluare (job #2357144)
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 |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | Afisarea Ingredientelor gresita | 3 |
3 | 2ms | 131kb | Afisarea Ingredientelor gresita | 3 |
4 | 3ms | 131kb | OK! | 10 |
5 | 2ms | 131kb | Afisarea Ingredientelor gresita | 3 |
6 | 2ms | 131kb | Afisarea Ingredientelor gresita | 3 |
7 | 2ms | 131kb | Afisarea Ingredientelor gresita | 3 |
8 | 2ms | 131kb | Afisarea Ingredientelor gresita | 3 |
9 | 2ms | 131kb | Afisarea Ingredientelor gresita | 3 |
10 | 2ms | 131kb | Afisarea Ingredientelor gresita | 3 |
Punctaj total | 44 |