bansalarpan4's blog

By bansalarpan4, history, 22 months 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

»
22 months ago, hide # |
 
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

»
22 months ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

you are going to get wa9 forever