Pagini recente » Borderou de evaluare (job #1216470) | Borderou de evaluare (job #1312322) | Borderou de evaluare (job #1420776) | Borderou de evaluare (job #3040699) | Borderou de evaluare (job #1736351)
Borderou de evaluare (job #1736351)
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 | 312kb | Corect! | 10 | 10 |
| 2 | 0ms | 340kb | Corect! | 10 | 10 |
| 3 | 0ms | 296kb | Corect! | 10 | 10 |
| 4 | 0ms | 296kb | Corect! | 10 | 10 |
| 5 | 0ms | 304kb | Corect! | 10 | 10 |
| 6 | 0ms | 320kb | Corect! | 10 | 10 |
| 7 | 0ms | 336kb | Corect! | 10 | 10 |
| 8 | 84ms | 2604kb | Corect! | 10 | 0 |
| 9 | Depăşit | 1508kb | Time limit exceeded. | 0 |
| 10 | 88ms | 2604kb | Corect! | 10 |
| Punctaj total | 70 |