Borderou de evaluare (job #2229160)

Utilizator giotoPopescu Ioan gioto Data 6 august 2018 00:45:19
Problema Count Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void back(std::vector<int>::iterator, int)’: user.cpp:20:9: warning: unused variable ‘nd’ [-Wunused-variable] int nd = *nod; ^~ user.cpp: In function ‘int main()’: user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("count.in", "r", stdin); ^ user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("count.out", "w", stdout); ^ user.cpp:32:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:35:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ user.cpp:24:13: warning: array subscript is above array bounds [-Warray-bounds] G[nr + 1] = *nod; ~~~~~~~~^ user.cpp:24:13: warning: array subscript is above array bounds [-Warray-bounds] G[nr + 1] = *nod; ~~~~~~~~^ user.cpp:24:13: warning: array subscript is above array bounds [-Warray-bounds] G[nr + 1] = *nod; ~~~~~~~~^ user.cpp:24:13: warning: array subscript is above array bounds [-Warray-bounds] G[nr + 1] = *nod; ~~~~~~~~^ user.cpp:24:13: warning: array subscript is above array bounds [-Warray-bounds] G[nr + 1] = *nod; ~~~~~~~~^ user.cpp:24:13: warning: array subscript is above array bounds [-Warray-bounds] G[nr + 1] = *nod; ~~~~~~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms2532kbOK10
20ms2536kbOK10
30ms2544kbOK10
44ms2576kbOK10
58ms2688kbOK10
612ms2792kbOK10
78ms2684kbOK10
864ms4468kbOK10
9228ms6800kbOK10
10124ms6252kbOK10
Punctaj total100

Ceva nu functioneaza?