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.

67 lines
1.3 KiB

2 months ago
  1. /* cat.dat */
  2. /***********************************************************************
  3. * Web Paint-by-Number Puzzle #6 from <www.webpbn.com>.
  4. * Copyright (C) 2004 by Jan Wolter. Used by permission.
  5. *
  6. * Scardy Cat
  7. *
  8. * created by Jan Wolter
  9. * Mar 24, 2004
  10. *
  11. * Encoded in GNU MathProg by Andrew Makhorin <mao@gnu.org>.
  12. ***********************************************************************/
  13. data;
  14. param m := 20;
  15. param n := 20;
  16. param row : 1 2 3 4 :=
  17. 1 2 . . .
  18. 2 2 . . .
  19. 3 1 . . .
  20. 4 1 . . .
  21. 5 1 3 . .
  22. 6 2 5 . .
  23. 7 1 7 1 1
  24. 8 1 8 2 2
  25. 9 1 9 5 .
  26. 10 2 16 . .
  27. 11 1 17 . .
  28. 12 7 11 . .
  29. 13 5 5 3 .
  30. 14 5 4 . .
  31. 15 3 3 . .
  32. 16 2 2 . .
  33. 17 2 1 . .
  34. 18 1 1 . .
  35. 19 2 2 . .
  36. 20 2 2 . .
  37. ;
  38. param col : 1 2 3 :=
  39. 1 5 . .
  40. 2 5 3 .
  41. 3 2 3 4
  42. 4 1 7 2
  43. 5 8 . .
  44. 6 9 . .
  45. 7 9 . .
  46. 8 8 . .
  47. 9 7 . .
  48. 10 8 . .
  49. 11 9 . .
  50. 12 10 . .
  51. 13 13 . .
  52. 14 6 2 .
  53. 15 4 . .
  54. 16 6 . .
  55. 17 6 . .
  56. 18 5 . .
  57. 19 6 . .
  58. 20 6 . .
  59. ;
  60. end;