Borderou de evaluare (job #3217371)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
29 | if(a[i].x<a[mn].x || a[i].x==a[mn].x && a[i].y<a[mn].y) mn=i;
| ^
main.cpp:39:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
39 | while(l>=2 && det(a[l-1],a[l],a[i])<0)
| ^~~~~
main.cpp:41:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
41 | a[++l]=a[i];
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Corect | 10 |
| 2 | 0ms | 303kb | Corect | 10 |
| 3 | 8ms | 557kb | Corect | 10 |
| 4 | 4ms | 557kb | Corect | 10 |
| 5 | 4ms | 557kb | Corect | 10 |
| 6 | 54ms | 1912kb | Corect | 10 |
| 7 | 54ms | 2093kb | Corect | 10 |
| 8 | 54ms | 2097kb | Corect | 10 |
| 9 | 54ms | 1916kb | Corect | 10 |
| 10 | 54ms | 1925kb | Corect | 10 |
| Punctaj total | 100 |