79704270

Date: 2025-07-17 04:04:48
Score: 2
Natty:
Report link

I think your problem is that you haven't figured out the sequence of connecting each pixel point.You can determine the order of the connection points by judging whether the pixel points are connected.Search for the eight adjacent pixels of a pixel point through BFS to confirm whether the pixel is blue.Then, for the pixels confirmed to be blue, using DFS search to confirm the connected pixels should be able to solve this problem.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 小虎哥