Skip to content

Instantly share code, notes, and snippets.

View nariaki3551's full-sized avatar

Nariaki Tateiwa nariaki3551

  • NTT Software Innovation Center
  • Tokyo
View GitHub Profile
import pulp
from itertools import product
from pprint import pprint
def main():
# 問題表(0が空白マス)
Bord = [[0, 0, 0, 0, 4, 0, 6, 0, 0],
[7, 5, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 5, 0, 0, 0],