Блог пользователя Gordon-Freeman

Автор Gordon-Freeman, история, 5 недель назад, По-английски

Can someone tell me why i got TLE on this problem: 2004D - Colored Portals i saw a lot of solution using BS so why mine won't pass and how can i improve it, here is my sub 276828392

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

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

Автор Gordon-Freeman, история, 2 месяца назад, По-английски

If i have a sorted vector like this v={ 5,6,7,8,9,10,11 } how can i get the number of elements that are bigger than x? lets say x is 9 so the number of elements bigger than 9 equals 2 how can i code that?

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

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

Автор Gordon-Freeman, история, 4 месяца назад, По-английски

i was solving this problem from the last div4 1971E - Find the Car and here is my submisson: 260566589 — i'am getting WA in testcase 19 and i found out it's because i'am using (double) , why is that can someone explain?

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

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