Borderou de evaluare (job #1897473)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 1 martie 2017 14:24:44
Problema Elicoptere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 44

Raport evaluator

Compilare: user.cpp: In function ‘void input()’: user.cpp:24:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &type); ^ user.cpp:25:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &k); ^ user.cpp:28:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &a[i][j].x, &a[i][j].y); ^ user.cpp: In function ‘int main()’: user.cpp:192: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:193: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: In function ‘double apm_cost()’: user.cpp:178:12: warning: ‘res’ may be used uninitialized in this function [-Wmaybe-uninitialized] return res; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbNumar de elicoptere gresit.0
20ms452kbNumar de elicoptere gresit.0
30ms452kbNumar de elicoptere gresit.0
40ms444kbNumar de elicoptere gresit.0
50ms452kbNumar de elicoptere gresit.0
60ms452kbNumar de elicoptere gresit.0
70ms452kbNumar de elicoptere gresit.0
80ms456kbNumar de elicoptere gresit.0
90ms452kbNumar de elicoptere gresit.0
104ms460kbNumar de elicoptere gresit.0
110ms448kbOK.4
120ms444kbOK.4
130ms452kbOK.4
140ms448kbOK.4
150ms452kbOK.4
160ms448kbOK.4
170ms452kbOK.4
180ms452kbOK.4
190ms460kbOK.4
204ms452kbOK.4
210ms464kbOK.4
220ms464kbSuma lungimilor rutelor gresita.0
230ms468kbSuma lungimilor rutelor gresita.0
240ms464kbSuma lungimilor rutelor gresita.0
250ms472kbSuma lungimilor rutelor gresita.0
260ms468kbSuma lungimilor rutelor gresita.0
270ms468kbSuma lungimilor rutelor gresita.0
280ms472kbSuma lungimilor rutelor gresita.0
290ms476kbSuma lungimilor rutelor gresita.0
304ms472kbSuma lungimilor rutelor gresita.0
Punctaj total44

Ceva nu functioneaza?