12724 - 電機資結 2020 HW1 Block Puzzle   

Description

  • This will be a useful tool for you to solve block puzzles.
  • The first 10 testcases are for basic requirements.
    • Each piece should be used exactly once for each map.
    • Rotating or flipping the pieces is NOT needed.
    • Determine whether it is possible to complete the map?
  • The 11th and 12th are for bonus.
    • Rotating and flipping the pieces may be needed

Input

Output

Sample Input  Download

Sample Output  Download

Tags




Discuss