Borderou de evaluare (job #1331997)

Utilizator bogdanmarin69Bogdan Marin bogdanmarin69 Data 1 februarie 2015 15:21:39
Problema Parc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:9: warning: unused variable ‘i’ [-Wunused-variable] int i, st, dr, x, dx, dy, p2=1; ^ user.cpp:16:12: warning: unused variable ‘st’ [-Wunused-variable] int i, st, dr, x, dx, dy, p2=1; ^ user.cpp:16:16: warning: unused variable ‘dr’ [-Wunused-variable] int i, st, dr, x, dx, dy, p2=1; ^ user.cpp:16:20: warning: unused variable ‘x’ [-Wunused-variable] int i, st, dr, x, dx, dy, p2=1; ^ user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("parc.in", "r", stdin); ^ user.cpp:19:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("parc.out", "w", stdout); ^ user.cpp:20:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d%d", &xp, &yp, &xg, &yg, &xi, &yi); ^ user.cpp: In function ‘void citestePiste(pista*, int, int, int&)’: user.cpp:101:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &unde); ^ user.cpp:103:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbBine !10
20ms264kbBine !10
30ms304kbBine !10
40ms308kbBine !10
50ms312kbBine !10
60ms328kbBine !10
70ms336kbBine !10
80ms320kbBine !10
90ms328kbBine !10
100ms336kbBine !10
Punctaj total100

Ceva nu functioneaza?