Borderou de evaluare (job #2826737)

Utilizator alessiamtr12Mitrica Alessia alessiamtr12 Data 5 ianuarie 2022 12:31:46
Problema Tigri Status done
Runda Algoritmiada 2022 Runda 1 Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void diferenta(int*, int*)': main.cpp:47:9: warning: unused variable 'm' [-Wunused-variable] 47 | int m=y[0]; | ^ main.cpp:48:9: warning: unused variable 't' [-Wunused-variable] 48 | int t=0; | ^ main.cpp: In function 'int main()': main.cpp:95:29: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 95 | if(strlen(a)<=cont[0]) | ~~~~~~~~~^~~~~~~~~ main.cpp:139:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 139 | if(cont[0]>z[0]||cont[0]==z[0]&&cont[cont[0]]>=z[z[0]]) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:150:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 150 | if(cont[0]>z[0]||cont[0]==z[0]&&cont[cont[0]]>=z[z[0]]) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:173:29: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 173 | if(strlen(a)<tigri[0]||tigri[0]==x[0]&&tigri[tigri[0]]>x[x[0]]) | ~~~~~~~~~^~~~~~~~~ main.cpp:173:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 173 | if(strlen(a)<tigri[0]||tigri[0]==x[0]&&tigri[tigri[0]]>x[x[0]]) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:176:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 176 | if(strlen(a)<tigri[0]||tigri[0]==x[0]&&tigri[tigri[0]]>x[x[0]]) | ~~~~~~~~~^~~~~~~~~ main.cpp:176:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 176 | if(strlen(a)<tigri[0]||tigri[0]==x[0]&&tigri[tigri[0]]>x[x[0]]) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:193:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 193 | if(cont[0]>z[0]||cont[0]==z[0]&&cont[cont[0]]>=z[z[0]]) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:154:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 154 | else | ^~~~ main.cpp:203:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 203 | while(cont[cont[0]]==0&&cont[0]>1) | ^~~~~ main.cpp:205:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 205 | for(int i=cont[0];i>=1;i--) | ^~~ main.cpp:207:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 207 | fout<<" "; | ^~~~
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbIncorect0
32ms184kbIncorect0
42ms184kbIncorect0
52ms184kbIncorect0
611ms311kbIncorect0
76ms278kbIncorect0
888ms851kbIncorect0
988ms868kbIncorect0
10204ms1720kbTime limit exceeded0
Punctaj total10

Ceva nu functioneaza?