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.

42 lines
814 B

2 months ago
  1. /* dancer.dat */
  2. /***********************************************************************
  3. * Web Paint-by-Number Puzzle #1 from <www.webpbn.com>.
  4. * Copyright (C) 2004 by Jan Wolter. Used by permission.
  5. *
  6. * Demo Puzzle from Front Page
  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 := 10;
  15. param n := 5;
  16. param row : 1 2 3 :=
  17. 1 2 . .
  18. 2 2 1 .
  19. 3 1 1 .
  20. 4 3 . .
  21. 5 1 1 .
  22. 6 1 1 .
  23. 7 2 . .
  24. 8 1 1 .
  25. 9 1 2 .
  26. 10 2 . .
  27. ;
  28. param col : 1 2 3 :=
  29. 1 2 1 .
  30. 2 2 1 3
  31. 3 7 . .
  32. 4 1 3 .
  33. 5 2 1 .
  34. ;
  35. end;