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

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

Hi everyone, I need help with this problem, I tried 3 days, but nothing work. The problem consists about find the x smallest múltiple of a number n, and x only consists of 0 and 1 for example n=2,x=10 and n=3,x=111.. please help I try brute force but it doesn't work

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

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

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

Hello.

I submit two codes, this 36444650, and 36444709 this.

I don't know why the times of execution vary so much.

Sorry for my English.

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

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