Borderou de evaluare (job #2139261)

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

Raport evaluator

Compilare: user.cpp: In function ‘void U(short int, short int, short 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(short int, short 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:60:43: warning: narrowing conversion of ‘nrq’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] q[st[u]].push_back({a, b, nrq}); ^ 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:49:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:51:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd%hd%hd", &a, &b, &c); ^ user.cpp:57:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd%hd", &a, &b); ^ user.cpp:63:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms26116kbOK10
232ms26588kbOK10
332ms26648kbOK10
4144ms29192kbOK10
5148ms29716kbOK10
6488msDepăşitMemory limit exceeded.0
7Depăşit40688kbTime limit exceeded.0
8516msDepăşitMemory limit exceeded.0
9Depăşit40088kbTime limit exceeded.0
10516msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?