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

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

hello everybody , i m just stuck at this test case now more than two days . can someone help me out figuring what is wrong this submission problem — 1846C - Rudolf and the Another Competition submission — 269683436

also , share how did you people deal with such circumstances , as i m facing this issue in a few more problems now. thankyou

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

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

I just replaced all the int variables with long long and int main with signed main ,and it got accepted so I guess it was probably an overflow issue. Here is the accepted solution if you want 269819161

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

you are going to get wa9 forever