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

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

Hello, Does C++ have a way to delete map key automatically when the mapped value is equal to zero? I'm tired to erase them by an if statement.

Sorry for my bad English :)

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

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

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

Hello. I recently met this problem but can't solve it, please help me solve it.

Given an array of n integers.

There are q queries. Each query gives us a subarray from l to r.

Find the maximum occurrence of a number in the subarray.

(Sorry for my bad English :) )

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

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

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

Hi, I just get saw this. It tells me that my Codeforces password is leak. Should I change my password?

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

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