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

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

Hello everyone, I was wondering if someone could help me figure this out. I can't figure out why one of my solutions works and the other doesn't. Thanks.

1717C - Madoka and Formal Statement

Working 170972214

Not working 170970152

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

»
20 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

You didn't include if(nums.at(i) > nums2.at(i)) in the WA submission for the $$$i = n - 1$$$ case. Adding it gets AC: 170974613.