Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

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

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

Hi codeforces, I am realative beginner in the world of algorithms and recently I have come across the pigeon-hole principle and I am slightly overwhelmed as even though I understand the principle, I am not able to develop a thinking strategy for solving problems like this, can someone please share a tutorial so that I can develop more on thinking or a list of beginner problems for me to get started on. Thank you, any help is greatly appreciated!

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

»
4 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Here take a puzzle for fun: You are in your room with no lights and you must pick a pair of socks to wear. Your closet contains only black and white socks. How many socks you must pick without seeing, in order to be sure that you have a valid pair of socks.