Pavel's blog

By Pavel, history, 3 weeks 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) ).

Read more »

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

By Pavel, history, 8 months 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://codeforces.com/contest/1114/submission/49755099

Read more »

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

By Pavel, history, 12 months 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

Read more »

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