restart_2.0's blog

By restart_2.0, history, 5 years ago, In English

ACM is no longer sponsoring ICPC and the competition name is no longer ACM-ICPC. Now it's become only ICPC. Though ACM-ICPC looks more cool ;).

Perhaps a lot of us don't know about this fact and still using ACM before ICPC ( so did in Codeforces Round #590 (Div. 3) ).

Full text and comments »

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

By restart_2.0, history, 6 years ago, In English

Why I am getting different output? Someone please explain the reason behind the WA. Ideoned code: https://ideone.com/ZjNybK CF Submission: https://mirror.codeforces.com/contest/1114/submission/49755099

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By restart_2.0, history, 6 years ago, In English

Whenever I run my code on compiler it's showing output "-1", but Codeforces shows "1" and gives WA. Can anyone explain the reason behind this?

Problem Link: 1066_B

My Solution: https://ideone.com/XdpmQJ?fbclid=IwAR3dgEZMtqeKHY60H5xKsN2S_5tMsxdLocCP7fINeYo2W3Bjksv7ArJwWoo

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it