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.

66 lines
1.3 KiB

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