hphucvn's blog

By hphucvn, 7 months ago, In English

Link to original problem: 1004F - Соня и побитовое ИЛИ

In the original statement, the query to update is point update only.

How can I solve this problem, suppose the first query is (1 L R Y) : assign value of a[l] ... a[r] to y

Thanks for the help !

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
7 months ago, hide # |
 
Vote: I like it -15 Vote: I do not like it

You should brute-force and don't try to use a tree, because grass and vegetation is bad for programers

»
7 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Seeking for help..