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

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

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

I need to know a way to remove elements in O(1) time . I used hash table , put the values as keys but there is a problem that the values are not distinct . Is there a way to remove elements in O(1) time if they aren't distinct ?

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

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

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

I was trying to solve this graph problem .

my idea is the same as the editorial but I get TLE in test 34 can anyone help me ?

here is my code

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

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

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

I have been working on increasing my graph skills . so can anyone link a contest that has two or more graph problems ?

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

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

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

in this problem. the third test case says that node 2 and node 1 have cats so the path from 1 to 2 has 2 cats which is equal to m . but the jury answer is that there is no path with <= m cats . can anyone help me understand this test case ?

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

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

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

I am participating virtually in ACM Jordan 2017 . the submitting process should be done by sending the file of the code . it the first time that I submit using this way . I am using C# and whatever the problem that I submit for it gives me runtime error . anyone has a solution for this problem ?

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

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

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

I participated in round 446 and gained +73 rating so I became pupil from newbie . when I checked my rating today . it is the same but the color is grey and my title still newbie , also the contests are not in the contests that I participated in . Is anyone facing similar problem ? [UPD] it is fixed now .

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

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

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

does anyone face a problem with seeing the test cases of the problems while practicing ?

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

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