Rowan University Gloucester County
High School Programming Contest
hosted by Rowan University Computer Science Department

the 2003 Contest is Saturday, 15 March 2003
Contest Problem

If you're reading this, then you probably want the following four things:

  1. The problem specification: gcpc-problem-2003.pdf
  2. The first sample input: sample1.txt
  3. The second sample input: sample2.txt
  4. The test data whose output should be submitted to the judges: testdata.txt

ANSWERS TO CONTESTANT QUESTIONS

Here are the answers to all the questions I've gotten so far.

New question at 10:00am:

  1. Q: If an order is given that does not affect the program does it count as a signal? For example: if they press "on" during play[.]

    A: All signals are processed, and a line is printed, even if processing the signal does not change change the state of the player.

Questions received by 9:30am:

  1. Q: In the test data does the time and signal get input on one line?

    A: Yes.

  2. Q: Do we "have to" use the variables "T" and "S" [...]?

    A: No. Those names were chosen in the tradition of mathematics papers, and are (as you suggest) unsuitable for programs.

  3. Q: is the test data supposed to be read from the .txt file or entered manually?

    A: It does not matter. I read from the keyboard in my program and used cut/paste with my mouse.

  4. Q: we would like to know how the cd data is inputted. via text box, a file, form? any of these?

    A: Students using a GUI based system may use one or more text boxes, may read from a file, or any other reasonable method they know how to use. Just don't hard-code the numbers into your program.

    This is a contest about problem solving, not parsing input.

Good Luck!


This page's URI: http://elvis.rowan.edu/gcpc/problem/index.php
Last modified: Saturday, 15 March 2003, 10:05:28am
Valid CSS! Valid HTML