Borderou de evaluare (job #1260188)

Utilizator dinuvldVlad Dinu dinuvld Data 10 noiembrie 2014 23:04:30
Problema Datorii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void update(int, int)’: user.cpp:7:33: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] for (; poz <= n; poz += poz & (poz - 1) ^ poz) ^ user.cpp: In function ‘int query(int)’: user.cpp:14:33: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] for (; poz <= n; poz -= poz & (poz - 1) ^ poz) ^ user.cpp: In function ‘int main()’: user.cpp:22:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("datorii.in", "r", stdin); ^ user.cpp:23:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("datorii.out", "w", stdout); ^ user.cpp:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:27:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:33:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d", &a, &b, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit272kbTime limit exceeded.0
2Depăşit276kbTime limit exceeded.0
3Depăşit272kbTime limit exceeded.0
4Depăşit276kbTime limit exceeded.0
5Depăşit276kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?