Borderou de evaluare (job #3242099)

Utilizator Dani111Gheorghe Daniel Dani111 Data 8 septembrie 2024 20:10:59
Problema Tri2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool F(point, point, point)': main.cpp:65:20: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 65 | return 1LL * (1LL * (A1.y - O1.y) * (B1.x - O1.x) - 1LL * (A1.x - O1.x) * (B1.y - O1.y) < 0); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'bool cmp(int, int)': main.cpp:74:20: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 74 | return 1LL * (1LL * (A1.y - O1.y) * 1LL * (B1.x - O1.x) - 1LL * (A1.x - O1.x) * (B1.y - O1.y) < 0); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:102:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for(int i = 0; i < v.size(); i++) { | ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
2247ms4526kbOK10
32ms819kbOK10
4331ms5959kbOK10
5331ms6000kbOK10
628ms1204kbOK10
7262ms4681kbOK10
878ms2822kbOK10
9272ms4866kbOK10
10262ms4808kbOK10
Punctaj total100

Ceva nu functioneaza?