Borderou de evaluare (job #932800)

Utilizator dariusdariusMarian Darius dariusdarius Data 29 martie 2013 11:44:44
Problema Melc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("melc.in","r",stdin); ^ user.cpp:25:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("melc.out","w",stdout); ^ user.cpp:27:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf",&p.x,&p.y);p.id=0; ^ user.cpp:28:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:30:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf%d",&a[i].x,&a[i].y,&a[i].id); ^ user.cpp:40:2: warning: ‘ind’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(int i=1;i<ind;i++) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms332kbRaspuns gresit!0
20ms324kbRaspuns gresit!0
30ms332kbRaspuns gresit!0
40ms340kbRaspuns gresit!0
50ms336kbRaspuns gresit!0
60ms344kbRaspuns gresit!0
70ms336kbRaspuns gresit!0
80ms340kbRaspuns gresit!0
90ms348kbRaspuns gresit!0
100ms352kbRaspuns gresit!0
114ms356kbRaspuns gresit!0
120ms332kbRaspuns gresit!0
130ms336kbRaspuns gresit!0
140ms360kbRaspuns gresit!0
154ms356kbRaspuns gresit!0
160ms324kbCorect!5
170ms324kbRaspuns gresit!0
180ms328kbRaspuns gresit!0
190ms324kbRaspuns gresit!0
200ms328kbRaspuns gresit!0
Punctaj total5

Ceva nu functioneaza?