Borderou de evaluare (job #1941678)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 27 martie 2017 15:35:21
Problema Zuzu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void ReadInput()’: user.cpp:41:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &T); ^ user.cpp:43:211: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf%lf%lf%lf%lf%d", &parallelogram[i].x[0], &parallelogram[i].y[0], &parallelogram[i].z[1], &parallelogram[i].x[1], &parallelogram[i].y[1], &parallelogram[i].z[0], &parallelogram[i].direction); ^ user.cpp: In function ‘void ColorPieces(Parallelogram)’: user.cpp:105:13: warning: ‘z2’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(int k = z1; k < z2; k++) { ^ user.cpp:105:13: warning: ‘z1’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:104:9: warning: ‘y2’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(int j = y1; j < y2; j++) { ^ user.cpp:73:17: warning: ‘y1’ may be used uninitialized in this function [-Wmaybe-uninitialized] int x1, x2, y1, y2, z1, z2; ^ user.cpp:103:5: warning: ‘x2’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(int i = x1; i < x2; i++) { ^ user.cpp:73:9: warning: ‘x1’ may be used uninitialized in this function [-Wmaybe-uninitialized] int x1, x2, y1, y2, z1, z2; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms388kbWrong Answer00
24ms380kbWrong Answer0
34ms384kbWrong Answer00
40ms376kbWrong Answer0
50ms380kbWrong Answer00
60ms384kbWrong Answer0
74ms388kbWrong Answer00
80ms380kbWrong Answer0
940ms392kbWrong Answer0
1052ms392kbWrong Answer0
Punctaj total0

Ceva nu functioneaza?