Pagini recente » Borderou de evaluare (job #3250477) | Borderou de evaluare (job #3264773) | Borderou de evaluare (job #528588) | Borderou de evaluare (job #1114397) | Borderou de evaluare (job #2826737)
Borderou de evaluare (job #2826737)
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<<" ";
| ^~~~
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 2ms | 184kb | OK | 10 |
✓ | 2 | 2ms | 184kb | Incorect | 0 |
✓ | 3 | 2ms | 184kb | Incorect | 0 |
✓ | 4 | 2ms | 184kb | Incorect | 0 |
✓ | 5 | 2ms | 184kb | Incorect | 0 |
✓ | 6 | 11ms | 311kb | Incorect | 0 |
✓ | 7 | 6ms | 278kb | Incorect | 0 |
✓ | 8 | 88ms | 851kb | Incorect | 0 |
✓ | 9 | 88ms | 868kb | Incorect | 0 |
✓ | 10 | 204ms | 1720kb | Time limit exceeded | 0 |
Punctaj total | 10 |