Annual High School Programming Competition
Directory: Sample Problem 2
The directory below contains eight (8) files, including a text file containing the problem description, five source code solution files, and two test data files.
You may simply download/display one or more of these files by choosing the appropriate link(s), or you may copy any or all of them to your local computer using whatever means your browser provides for doing so.
Sample problem 2: A textfile that contains a description of the problem which involves sorting names.
|sortnames.txt||20-Apr-2003 21:33||3.8K||Problem description|
Source code solution files: Each file contains the source code for a sample solution to this problem in one of the five different programming languages used for the competition:
|sortnames.bas||08-May-2003 09:12||1.6K||BASIC source code|
|sortnames.c||20-Apr-2003 21:31||1.9K||C source code|
|sortnames.cpp||08-May-2003 09:29||1.3K||C++ source code|
|sortnames.pas||20-Apr-2003 21:32||1.9K||Pascal source code|
|SortNames.java||26-Feb-2001 19:23||1.9K||Java source code|
Sample input data files: These two files both have a .dat extension and are sample input data files that can be used to provide input to any or all of the sample programs listed above. Note, however, that each sample program is written to read from a file called TEST.DAT. In order to use either of these sample input data files, you must make a copy of it and name it TEST.DAT before running the program.
|sortnames1.dat||30-Apr-2003 22:26||219||Sample input data file|
|sortnames2.dat||30-Apr-2003 22:26||72||Sample input data file|