Borderou de evaluare (job #1884897)

Utilizator NicusorTelescu Nicolae Nicusor Data 19 februarie 2017 14:12:20
Problema Elicoptere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 54

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:128:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",cnt); ^ user.cpp:134:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",cnt/2); ^ user.cpp:101: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:102: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:104:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n%lld %lf\n",&p,&n,&k); ^ user.cpp:107:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld %lld ",&v[i].x1,&v[i].y1,&v[i].x2); ^ user.cpp:108:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld %lld\n",&v[i].y2,&v[i].x3,&v[i].y3); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms336kbOK.2
20ms340kbOK.2
30ms348kbOK.2
40ms356kbOK.2
50ms364kbOK.2
60ms368kbOK.2
70ms380kbOK.2
80ms388kbOK.2
90ms396kbNumar de elicoptere gresit.0
100ms396kbOK.2
110ms336kbOK.4
120ms336kbOK.4
130ms348kbOK.4
140ms360kbOK.4
150ms360kbOK.4
160ms372kbOK.4
170ms384kbOK.4
184ms392kbOK.4
194ms396kbNumar de perechi de insule gresit.0
204ms396kbOK.4
210ms344kbSuma lungimilor rutelor gresita.0
220ms348kbSuma lungimilor rutelor gresita.0
230ms364kbSuma lungimilor rutelor gresita.0
240ms372kbSuma lungimilor rutelor gresita.0
250ms380kbSuma lungimilor rutelor gresita.0
260ms392kbSuma lungimilor rutelor gresita.0
270ms404kbSuma lungimilor rutelor gresita.0
280ms416kbSuma lungimilor rutelor gresita.0
290ms424kbSuma lungimilor rutelor gresita.0
300ms420kbSuma lungimilor rutelor gresita.0
Punctaj total54

Ceva nu functioneaza?