Блог пользователя deepak_prakash

Автор deepak_prakash, история, 7 месяцев назад, По-английски

Hey, I recently got this problem in an online assessment.

Count number of subarrays such that, xor of first and last element of subarray should be equal to xor of remaining elements in the subarray. And the minimum size of subarray in consideration would be greater than equal to 3.

Thanks

Полный текст и комментарии »

  • Проголосовать: нравится
  • +3
  • Проголосовать: не нравится

Автор deepak_prakash, история, 6 лет назад, По-английски

I recently tried to solve Div 3 D problem and keep on getting Runtime error on 5th case. Not able to figure out the reason behind it.

https://codeforces.com/contest/999/submission/39512943 (link for the submission)

https://codeforces.com/contest/999/problem/D (link for the problem)

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится