Borderou de evaluare (job #1895510)

Utilizator stoianmihailStoian Mihail stoianmihail Data 27 februarie 2017 23:55:10
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:202:10: warning: unused variable ‘j’ [-Wunused-variable] int i, j; ^ user.cpp:204: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:206: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:212: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
10ms284kbNumar de elicoptere gresit.0
20ms276kbNumar de elicoptere gresit.0
30ms280kbNumar de elicoptere gresit.0
40ms280kbNumar de elicoptere gresit.0
50ms276kbNumar de elicoptere gresit.0
60ms280kbNumar de elicoptere gresit.0
70ms284kbNumar de elicoptere gresit.0
84ms284kbNumar de elicoptere gresit.0
94ms280kbNumar de elicoptere gresit.0
104ms284kbNumar de elicoptere gresit.0
110ms280kbOK.4
120ms280kbOK.4
130ms284kbOK.4
140ms280kbOK.4
150ms280kbOK.4
160ms276kbOK.4
170ms280kbOK.4
180ms276kbOK.4
194ms280kbOK.4
204ms280kbOK.4
210ms312kbSuma lungimilor rutelor gresita.0
220ms316kbSuma lungimilor rutelor gresita.0
230ms316kbSuma lungimilor rutelor gresita.0
240ms316kbSuma lungimilor rutelor gresita.0
250ms316kbSuma lungimilor rutelor gresita.0
260ms312kbSuma lungimilor rutelor gresita.0
274ms312kbSuma lungimilor rutelor gresita.0
284ms312kbSuma lungimilor rutelor gresita.0
294ms316kbSuma lungimilor rutelor gresita.0
304ms316kbSuma lungimilor rutelor gresita.0
Punctaj total40

Ceva nu functioneaza?