Borderou de evaluare (job #3336626)

Utilizator GliggyGligor Andrei Gliggy Data 25 ianuarie 2026 01:08:12
Problema Rubarba Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'bool cmp(pct, pct)': main.cpp:24:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 24 | return det(a[1], x, y)>0 || det(a[1], x, y)==0 && x.d>y.d; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:37:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 37 | if(a[i].y<yv||a[i].y==yv&&a[i].x<xv) xv=a[i].x, yv=a[i].y, swap(a[1],a[i]); | ~~~~~~~~~~^~~~~~~~~~~ main.cpp:66:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 66 | for(i=0;i<v.size()-1;i++){ | ~^~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOk! You are better than Ionel!10
20ms303kbOk! You are better than Ionel!10
30ms303kbIonel rulz, you don't!0
40ms303kbOk! You are better than Ionel!10
52ms540kbIonel rulz, you don't!0
622ms2695kbIonel rulz, you don't!0
722ms2781kbIonel rulz, you don't!0
80ms303kbOk! You are better than Ionel!10
919ms2805kbIonel rulz, you don't!0
100ms303kbOk! You are better than Ionel!10
Punctaj total50

Ceva nu functioneaza?