Блог пользователя shubhiks1032

Автор shubhiks1032, история, 3 года назад, По-английски

Do you guys love the cat in my profile pic? He says

"Hi! I'm Lulu!"

His father was a British Shorthair while his mother was a Munchkin and Scottish Fold hybrid, hence explaining his cuteness. Check him out here. Thank me later

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

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

Автор shubhiks1032, история, 7 лет назад, По-английски
  • Проголосовать: нравится
  • +40
  • Проголосовать: не нравится

Автор shubhiks1032, история, 8 лет назад, По-английски

Problem Name: Ladder Problem Link: http://mirror.codeforces.com/problemset/problem/279/C My solution: http://mirror.codeforces.com/contest/279/submission/23569730

I came up with a different solution that the editorial and other people solutions however its failing on one of the test cases and I am not able to find any mistake.

Basically I have inserted the checkpoints at which the ladder is starting and ending and within a query I use upper_bound to get the rightmost point if the given interval can be a ladder and compare it with the given "right" value and output the corresponding answer. Any help would be highly appreciated. :)

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

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