Hong Kong Olympiad in Informatics [HKOI] 2003

50-Mark Open Problem

Problem: Enumeration
Sample solutions:
  1. Sample solution 1 (50 marks)
  2. Sample solution 2 (50 marks)
Examples of wrong solutions:
  1. Wrong solution 1 (0 mark)
  2. Wrong solution 2 (?? marks)
  3. Wrong solution 3 (about 35 marks)
  4. Wrong solution 4 (0 mark)
  5. Wrong solution 5 (0 mark)
  6. Wrong solution 6 (0 mark)
  7. Wrong solution 7 (0 mark)
  8. Wrong solution 8 (about 45 marks)
Format checker

This format checker checks whether the output format for OUTPUT.TXT is correct (i.e. whether the integers, spaces and new-line characters are properly placed). It does not tell you whether the answer is correct (i.e. it does not check whether the integers are in correct order).