×

# september challange

 0 Can someone help me understand this question i dont understand what exactly we need to do this in this question. 1. bitwise-xor sum of all the values 2. For Q values of Δ, Weasel wants to compute XΔ0. link to the question here asked 23 Sep '17, 21:29 94●4 accept rate: 0%

 0 Basically, you are given a tree. The $X_d$ for some node $d$ is ($xor$ of values of all of its children)^($Node$ $d's$ value). You are given values of all nodes for day 0. Day 1's value will be calculated by procedure above using day 0's value. Then similarly for day 2 using day 1's values and so on. For a given value of $day$ , tell value of $Node$ $0$ on that day. answered 23 Sep '17, 22:06 15.2k●1●18●59 accept rate: 18% 1 thanks @vijju123 crystal clear explanation!! (23 Sep '17, 22:12)
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported
• mathemetical formulas in Latex between \$ symbol

Question tags:

×16

question asked: 23 Sep '17, 21:29

question was seen: 176 times

last updated: 23 Sep '17, 22:21