Borderou de evaluare (job #2139241)

Utilizator giotoPopescu Ioan gioto Data 22 februarie 2018 11:51:42
Problema Undo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void U(int, int, int)’: user.cpp:20:10: warning: statement has no effect [-Wunused-value] for(x; x <= n ; x = x + (x & (-x))) ^ user.cpp: In function ‘int Q(int, int)’: user.cpp:27:10: warning: statement has no effect [-Wunused-value] for(x; x >= 1 ; x = x - (x & (-x))) ^ user.cpp: In function ‘int main()’: user.cpp:42:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("undo.in", "r", stdin); ^ user.cpp:43:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("undo.out", "w", stdout); ^ user.cpp:44: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:48:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:50:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &a, &b, &c); ^ user.cpp:56:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^ user.cpp:62:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms25468kbOK10
232ms25804kbOK10
332ms25868kbOK10
4140ms28676kbOK10
5144ms29400kbOK10
6392msDepăşitMemory limit exceeded.0
7416msDepăşitMemory limit exceeded.0
8384msDepăşitMemory limit exceeded.0
9472msDepăşitMemory limit exceeded.0
10388msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?