Pagini recente » Borderou de evaluare (job #1763759) | Borderou de evaluare (job #527970) | Borderou de evaluare (job #2784775) | Borderou de evaluare (job #2685110) | Borderou de evaluare (job #2598196)
Borderou de evaluare (job #2598196)
Raport evaluator
Compilare:
main.cpp: In function 'void add(int)':
main.cpp:18:19: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
#define zeros(x) x&(x-1)^x
^
main.cpp:48:28: note: in expansion of macro 'zeros'
for (;pos < NMAX; pos += zeros(pos)){
^~~~~
main.cpp: In function 'int query(int)':
main.cpp:18:19: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
#define zeros(x) x&(x-1)^x
^
main.cpp:55:25: note: in expansion of macro 'zeros'
for (;pos > 0; pos -= zeros(pos)){
^~~~~
main.cpp: In function 'int main()':
main.cpp:63:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("permutariab.in","r",stdin);
^
main.cpp:64:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("permutariab.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 262kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 262kb | OK | 10 |
4 | 3ms | 262kb | OK | 10 |
5 | 3ms | 262kb | OK | 10 |
6 | 2ms | 262kb | OK | 10 |
7 | 2ms | 131kb | OK | 10 |
8 | 503ms | 2621kb | Time limit exceeded | 0 |
9 | 500ms | 2621kb | Time limit exceeded | 0 |
10 | 17ms | 2752kb | OK | 10 |
Punctaj total | 80 |