Блог пользователя restart_2.0

Автор restart_2.0, история, 5 лет назад, По-английски

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) ).

Полный текст и комментарии »

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

Автор restart_2.0, история, 5 лет назад, По-английски

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

Полный текст и комментарии »

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

Автор restart_2.0, история, 6 лет назад, По-английски

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

Полный текст и комментарии »

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