Borderou de evaluare (job #1895496)

Utilizator stoianmihailStoian Mihail stoianmihail Data 27 februarie 2017 23:41:31
Problema Elicoptere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:201:10: warning: unused variable ‘j’ [-Wunused-variable] int i, j, task; ^ user.cpp:203:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %d", &task, &N, &K); ^ user.cpp:205:125: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %d %d %d %d", &tr[i].p[0].x, &tr[i].p[0].y, &tr[i].p[1].x, &tr[i].p[1].y, &tr[i].p[2].x, &tr[i].p[2].y); ^ user.cpp:211: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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbNumar de elicoptere gresit.0
20ms280kbNumar de elicoptere gresit.0
30ms276kbNumar de elicoptere gresit.0
40ms276kbNumar de elicoptere gresit.0
54ms280kbNumar de elicoptere gresit.0
64ms284kbNumar de elicoptere gresit.0
78ms280kbNumar de elicoptere gresit.0
88ms288kbNumar de elicoptere gresit.0
98ms284kbNumar de elicoptere gresit.0
1012ms284kbNumar de elicoptere gresit.0
110ms284kbOK.4
120ms280kbOK.4
130ms280kbOK.4
140ms276kbOK.4
154ms280kbOK.4
164ms280kbOK.4
174ms276kbOK.4
188ms284kbOK.4
198ms284kbOK.4
2012ms280kbOK.4
210ms316kbSuma lungimilor rutelor gresita.0
220ms316kbSuma lungimilor rutelor gresita.0
230ms312kbSuma lungimilor rutelor gresita.0
244ms308kbSuma lungimilor rutelor gresita.0
254ms308kbSuma lungimilor rutelor gresita.0
268ms312kbSuma lungimilor rutelor gresita.0
278ms316kbSuma lungimilor rutelor gresita.0
2812ms312kbSuma lungimilor rutelor gresita.0
2912ms308kbSuma lungimilor rutelor gresita.0
3016ms304kbSuma lungimilor rutelor gresita.0
Punctaj total40

Ceva nu functioneaza?