Borderou de evaluare (job #2144714)

Utilizator giotoPopescu Ioan gioto Data 26 februarie 2018 21:27:24
Problema Undo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void U()’: user.cpp:19:10: warning: statement has no effect [-Wunused-value] for(x; x <= n ; x = x + (x & (-x))) ^ user.cpp: In function ‘int Q()’: user.cpp:26:10: warning: statement has no effect [-Wunused-value] for(x; x >= 1 ; x = x - (x & (-x))) ^ user.cpp: In function ‘int main()’: user.cpp:52: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:53: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:54: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:58:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:60: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:66: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:72: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
120ms26460kbOK10
232ms26980kbOK10
332ms27044kbOK10
4144ms31400kbOK10
5148ms31912kbOK10
6376msDepăşitMemory limit exceeded.0
7416msDepăşitMemory limit exceeded.0
8400msDepăşitMemory limit exceeded.0
9472msDepăşitMemory limit exceeded.0
10388msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?