ITADN

Partial line calculation error

#123Closedyueyan-zm 创建于 2025-10-30
Y
yueyan-zmcommented
Hello, boss: This is the code used: [example.txt](https://github.com/user-attachments/files/23231403/example.txt) Using this data and code, calculate the following results: <img width="2274" height="506" alt="Image" src="https://github.com/user-attachments/assets/09d6a1d7-33f5-44e3-8466-edf54353a4b3" /> In most cases, the calculation results are correct: <img width="2074" height="462" alt="Image" src="https://github.com/user-attachments/assets/59e70dce-d0f4-4c9a-999b-3f2fcd8e6505" /> You may think that this is because I changed the path to a Manhattan path, but in reality, I did not perform any further calculations and only changed the coordinates of the obstacles and pathfinding points. In some cases, this may also be the case
关闭于 2025-11-06 1 条评论