Borderou de evaluare (job #2112460)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 23 ianuarie 2018 15:00:08
Problema Fandoseala Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:61:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(i != ind && best == -1 || (v[i].y - v[ind].y) * (v[best].x - v[ind].x) > (v[best].y - v[ind].y) * (v[i].x - v[ind].x)) ^ user.cpp:91:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < pizdamatiipetrescule.size(); i++) ^ user.cpp: In function ‘char nextch()’: user.cpp:10:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buf, BUF_SIZE, 1, fi); ^ user.cpp: In function ‘int main()’: user.cpp:65:23: warning: array subscript is below array bounds [-Warray-bounds] v[p1].r = v[p2].r = -1000000000.0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1104ms424kbMaxim! Prea usor!50
232ms432kbMaxim! Prea usor!50
Punctaj total100

Ceva nu functioneaza?