bansalarpan4's blog

By bansalarpan4, history, 9 days ago, In English

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

  • Vote: I like it
  • +2
  • Vote: I do not like it

»
9 days ago, # |
  Vote: I like it +1 Vote: I do not like it

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

»
8 days ago, # |
  Vote: I like it 0 Vote: I do not like it

you are going to get wa9 forever ahahaah

  • »
    »
    8 days ago, # ^ |
      Vote: I like it +3 Vote: I do not like it

    Hmmmmmmmm, Yeah I think it is better than looking at editorial before not trying enough.