Borderou de evaluare (job #2116026)

Utilizator andreigasparoviciAndrei Gasparovici andreigasparovici Data 27 ianuarie 2018 11:56:54
Problema Desen Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘float Q_rsqrt(float)’: user.cpp:49:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] i = * ( long * ) &y; ^ user.cpp:51:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] y = * ( float * ) &i; ^ user.cpp: In function ‘void rezolvare()’: user.cpp:84:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ user.cpp:86:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ", &p[i].x, &p[i].y); ^ user.cpp: In function ‘int main()’: user.cpp:99:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("desen.in", "r", stdin); ^ user.cpp:100:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("desen.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms480kbOK!10
20ms480kbOK!10
30ms496kbOK!10
460ms524kbOK!10
5Depăşit548kbTime limit exceeded.0
6Depăşit560kbTime limit exceeded.0
7Depăşit536kbTime limit exceeded.0
8Depăşit552kbTime limit exceeded.0
9Depăşit556kbTime limit exceeded.0
10292ms540kbOK!10
Punctaj total50

Ceva nu functioneaza?