You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
2.8 KiB

3 months ago
  1. /* knot.dat */
  2. /***********************************************************************
  3. * Web Paint-by-Number Puzzle #16 from <www.webpbn.com>.
  4. * Copyright (C) 2004 by Jan Wolter. Used by permission.
  5. *
  6. * Probably Not
  7. *
  8. * created by Jan Wolter
  9. * Mar 27, 2004
  10. *
  11. * Encoded in GNU MathProg by Andrew Makhorin <mao@gnu.org>.
  12. ***********************************************************************/
  13. data;
  14. param m := 34;
  15. param n := 34;
  16. param row : 1 2 3 4 5 6 7 8 :=
  17. 1 1 1 . . . . . .
  18. 2 2 2 . . . . . .
  19. 3 3 3 . . . . . .
  20. 4 2 1 1 2 . . . .
  21. 5 2 1 1 2 . . . .
  22. 6 1 1 1 1 . . . .
  23. 7 1 1 1 1 . . . .
  24. 8 18 . . . . . . .
  25. 9 2 1 1 1 1 2 . .
  26. 10 1 1 1 1 1 1 . .
  27. 11 1 1 1 1 1 1 . .
  28. 12 26 . . . . . . .
  29. 13 2 1 1 1 1 1 1 2
  30. 14 2 1 1 2 2 1 1 2
  31. 15 2 1 1 2 2 1 1 2
  32. 16 14 14 . . . . . .
  33. 17 1 1 1 1 . . . .
  34. 18 1 1 1 1 . . . .
  35. 19 14 14 . . . . . .
  36. 20 2 1 1 2 2 1 1 2
  37. 21 2 1 1 2 2 1 1 2
  38. 22 2 1 1 1 1 1 1 2
  39. 23 26 . . . . . . .
  40. 24 1 1 1 1 1 1 . .
  41. 25 1 1 1 1 1 1 . .
  42. 26 2 1 1 1 1 2 . .
  43. 27 18 . . . . . . .
  44. 28 1 1 1 1 . . . .
  45. 29 1 1 1 1 . . . .
  46. 30 2 1 1 2 . . . .
  47. 31 2 1 1 2 . . . .
  48. 32 3 3 . . . . . .
  49. 33 2 2 . . . . . .
  50. 34 1 1 . . . . . .
  51. ;
  52. param col : 1 2 3 4 5 6 7 8 :=
  53. 1 1 1 . . . . . .
  54. 2 2 2 . . . . . .
  55. 3 3 3 . . . . . .
  56. 4 2 1 1 2 . . . .
  57. 5 2 1 1 2 . . . .
  58. 6 1 1 1 1 . . . .
  59. 7 1 1 1 1 . . . .
  60. 8 18 . . . . . . .
  61. 9 2 1 1 1 1 2 . .
  62. 10 1 1 1 1 1 1 . .
  63. 11 1 1 1 1 1 1 . .
  64. 12 26 . . . . . . .
  65. 13 2 1 1 1 1 1 1 2
  66. 14 2 1 1 2 2 1 1 2
  67. 15 2 1 1 2 2 1 1 2
  68. 16 14 14 . . . . . .
  69. 17 1 1 1 1 . . . .
  70. 18 1 1 1 1 . . . .
  71. 19 14 14 . . . . . .
  72. 20 2 1 1 2 2 1 1 2
  73. 21 2 1 1 2 2 1 1 2
  74. 22 2 1 1 1 1 1 1 2
  75. 23 26 . . . . . . .
  76. 24 1 1 1 1 1 1 . .
  77. 25 1 1 1 1 1 1 . .
  78. 26 2 1 1 1 1 2 . .
  79. 27 18 . . . . . . .
  80. 28 1 1 1 1 . . . .
  81. 29 1 1 1 1 . . . .
  82. 30 2 1 1 2 . . . .
  83. 31 2 1 1 2 . . . .
  84. 32 3 3 . . . . . .
  85. 33 2 2 . . . . . .
  86. 34 1 1 . . . . . .
  87. ;
  88. end;