Borderou de evaluare (job #1842003)

Utilizator antanaAntonia Boca antana Data 6 ianuarie 2017 13:48:02
Problema Volei Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:187:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("volei.in","r", stdin); ^ user.cpp:188:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("volei.out", "w", stdout); ^ user.cpp:192:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &D); ^ user.cpp:196:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &v[i].x, &v[i].y); ^ user.cpp: In function ‘bool getType()’: user.cpp:169:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp:170:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] while(c != 'F' && c != 'B') scanf("%c", &c); ^ user.cpp: In function ‘void bkt(int)’: user.cpp:114:12: warning: ‘b2’ may be used uninitialized in this function [-Wmaybe-uninitialized] x = 1.0*(b2 - b1)/(a1-a2); ^ user.cpp:78:24: note: ‘b2’ was declared here double a1, a2, b1, b2, x, y; ^ user.cpp:114:26: warning: ‘a2’ may be used uninitialized in this function [-Wmaybe-uninitialized] x = 1.0*(b2 - b1)/(a1-a2); ^ user.cpp:78:16: note: ‘a2’ was declared here double a1, a2, b1, b2, x, y; ^ user.cpp:115:18: warning: ‘b1’ may be used uninitialized in this function [-Wmaybe-uninitialized] y = x*a1 + b1; ^ user.cpp:78:20: note: ‘b1’ was declared here double a1, a2, b1, b2, x, y; ^ user.cpp:115:10: warning: ‘a1’ may be used uninitialized in this function [-Wmaybe-uninitialized] y = x*a1 + b1; ^ user.cpp:78:12: note: ‘a1’ was declared here double a1, a2, b1, b2, x, y; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms356kbOk!10
20ms340kbOk!10
30ms548kbOk!10
44ms540kbOk!10
512ms556kbOk!10
60ms300kbOk!10
712ms552kbOk!10
820ms556kbOk!10
94ms432kbOk!10
1020msDepăşitMemory limit exceeded.0
Punctaj total90

Ceva nu functioneaza?