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

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

Hello, I want to solve this classic problem. Could you please help me by sharing the solution approach, some code ideas, and a link to the problem? I would be very happy if you could share these with me.

Thank you!


You have a standard 8×8 chessboard and a knight placed on a starting cell (x,y) — coordinates are 1-based (from 1 to 8). Your task is to find a sequence of knight moves such that: The knight visits every square on the board exactly once (i.e., it makes 64 moves in total, including the starting square). The sequence forms a closed tour, meaning that after the knight’s final move (the 64th move), the knight can move again by a single knight’s move to return to the starting cell (x,y). If such a closed knight’s tour exists from the given starting position, print the board with numbers 1 through 64, where the number at each cell represents the move number when the knight visits that cell. Otherwise print "No".

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

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

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

I need advice to become carefully??? I missed out on a medal at the Olympiad because of my caution.

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

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

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

Requirements:to be as least cyan.This my alt account.My main account I close to expert.You see my last performance in my last contest.I want to train with him IOI.

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

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

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

After 1 year I start to CP.I don't need algorithm book I need learning c++ like vector and how to use vector

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

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

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

I always careless,What Should i do to be carefully!

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

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