Borderou de evaluare (job #1885610)

Utilizator NicusorTelescu Nicolae Nicusor Data 20 februarie 2017 09:35:42
Problema Elicoptere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:142:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] scanf("%d\n%d %lf\n",&p,&n,&k); ^ user.cpp:166:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",cnt); ^ user.cpp:172:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",cnt/2); ^ user.cpp:139:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("elicoptere.in","r",stdin); ^ user.cpp:140:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("elicoptere.out","w",stdout); ^ user.cpp:142:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n%d %lf\n",&p,&n,&k); ^ user.cpp:145:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf %lf %lf ",&v[i].x1,&v[i].y1,&v[i].x2); ^ user.cpp:146:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf %lf %lf\n",&v[i].y2,&v[i].x3,&v[i].y3); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms316kbOK.2
20ms328kbOK.2
30ms336kbOK.2
40ms344kbOK.2
50ms352kbOK.2
60ms356kbOK.2
70ms364kbOK.2
80ms376kbOK.2
90ms384kbOK.2
100ms380kbOK.2
110ms320kbOK.4
120ms332kbOK.4
130ms332kbOK.4
140ms340kbOK.4
150ms352kbOK.4
160ms360kbOK.4
170ms368kbOK.4
180ms376kbOK.4
194ms384kbOK.4
204ms384kbOK.4
210ms336kbSuma lungimilor rutelor gresita.0
220ms340kbSuma lungimilor rutelor gresita.0
230ms356kbSuma lungimilor rutelor gresita.0
240ms360kbSuma lungimilor rutelor gresita.0
250ms380kbSuma lungimilor rutelor gresita.0
260ms384kbSuma lungimilor rutelor gresita.0
270ms396kbSuma lungimilor rutelor gresita.0
280ms408kbSuma lungimilor rutelor gresita.0
290ms420kbSuma lungimilor rutelor gresita.0
300ms416kbSuma lungimilor rutelor gresita.0
Punctaj total60

Ceva nu functioneaza?