Pagini recente » Borderou de evaluare (job #650623) | Borderou de evaluare (job #2451259) | Borderou de evaluare (job #1194669) | Borderou de evaluare (job #249639) | Borderou de evaluare (job #1736356)
Borderou de evaluare (job #1736356)
Raport evaluator
Compilare:
user.cpp: In function ‘void upd(int, int)’:
user.cpp:12:26: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for(;x<=n;x+=x^(x-1) & x)
^
user.cpp: In function ‘int query(int)’:
user.cpp:20:23: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for(;x;x-=x^(x-1) & x)
^
user.cpp: In function ‘int main()’:
user.cpp:27:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(si,"%i",&n);
^
user.cpp:31:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(si,"%i",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 316kb | Corect! | 10 | 10 |
2 | 0ms | 336kb | Corect! | 10 | 10 |
3 | 0ms | 292kb | Corect! | 10 | 10 |
4 | 0ms | 300kb | Corect! | 10 | 10 |
5 | 0ms | 308kb | Corect! | 10 | 10 |
6 | 0ms | 320kb | Corect! | 10 | 10 |
7 | 0ms | 332kb | Corect! | 10 | 10 |
8 | 84ms | 2600kb | Corect! | 10 | 0 |
9 | Depăşit | 1508kb | Time limit exceeded. | 0 |
10 | 84ms | 2608kb | Corect! | 10 |
Punctaj total | 70 |