Download the contest archive file; this file contains
the submission system and the problem code. Save it in C:\Documents and Settings\All Users\Desktop\Temporary Student Work.
Right-click the "Temporary Student Work" icon on the desktop.
Find the "LCHSPC07" icon in the window that opens (this is the file
you saved) and double-click it.
Copy the contents of the archive by dragging the "Contest2007" icon
from the new window to the "Temporary Student Work" folder on the desktop.
Close the LCHSPC07 window (and reopen "Temporary Student Work" if necessary).
Double-click the "Contest2007" icon.
Double-click the "pc2v86p2" icon.
Double-click the "team_client" icon to start the submission system.
Log in with the team id and password supplied at sign-in.
Click "Unblock" if a message from Windows Firewall pops up.
You will now have the two practice problems on your system.
Return to this step once the practice session is over.
Download the problems archive to C:\Documents and Settings\All Users\Desktop\Temporary Student Work
once the main problems are made available.
Double-click "problems" in the "Temporary Student Work" window.
Drag "Contest2007" from the new window to "Temporary Student Work" on the desktop.
Click "Yes to All" in the "Confirm Folder Replace" window.
Initial Setup for Linux
Run "X-Win32" from the "X-Win32 6.1" submenu of the "Start" menu.
Click "Cancel" if a dialog box appears after the splash screen. You
should now have a blue "X" icon in the system tray in the lower right corner
of the screen.
Right-click the "X" icon in the system tray and select "Xconfig".
Click "Add..."
Select "StarNetSSH" from the "Connect Method" box and click "Next".
Enter "Contest2007" in the "Session Name" field,
"144.126.136.90" in the "Host Name" field,
the team id supplied at sign-in in the "Login" field,
"/usr/bin/gnome-session" in the "Command" field,
leave "Password" blank, check "Enable Compression", select
"Switch to Single" from the "Window Mode" drop-down, and, finally,
click the "Save" button.
Click "OK".
Right-click the "X" icon in the system tray again and select
"Sessions" and then "Contest2007".
Enter your team password in the appropriate field and then
click "OK".
Click "OK" when you get the error message about the hostname.
Open a terminal window (in "System Tools" under the Footprint menu)
and start mozilla for web browsing.
Download the contest archive file; this file contains
the submission system and the problem code. Save it in your home directory.
In the terminal window, type the following commands
unzip LCHSPC07
cd Contest2007/pc2v86p2
chmod u+x pc2team
./pc2team &
Login to the submission system as for Windows.
You can now use whatever tools you want to use from the command line.
Available tools include: eclipse,
g++, javac, java, gdb, jdb, emacs, vi, pico,
and mozilla. g++ is version 3.4.
Eclipse for Windows
Select "Eclipse" and then "Eclipse 3.01" from the "Start" menu.
If a "Select Workspace" dialog does not appear, select "Switch Workspace" from the "File" menu.
Enter "C:\Documents and Settings\All Users\Desktop\Temporary Student Work\workspace" in the "Workspace" field and click "OK".
Select "File", "New", and "Project..." from the menu bar.
Select "Java Project" and click "Next".
Enter "problemx" (where x is the problem number)
in the "Project name:" field and click "Finish".
Click "Yes" to confirm the perspective change.
Right-click the "problemx" icon in the tree view in the left pane
and select "Import...".
Select "File system" and click "Next".
Click the "Browse..." button and browse to C:\Documents and Settings\All Users\Desktop\Temporary Student Work\Contest2007\Problems
under "My Computer" (go through "Temporary Student Work" for a shortcut),
select the problem you would like to work on, and click "OK".
Click "Select All" and then "Finish".
Expand "problemx" and then "default package" in the tree view.
Double-click the .java file to open the file for editing.
To run, right-click the "xxxTest.java" file in the tree view
and select "Run" and
"Java Application".
The output of your program will appear in the pane at the bottom of
the Eclipse window.
When submitting your files, they will be located in
C:\Documents and Settings\All Users\Desktop\Temporary Student Work\workspace\problemx.
jGRASP for Windows
Double-click the "jGRASP" icon on the desktop.
Close any windows containing source code our students have left behind.
If the left pane is not showing the files in the "Temporary Student Work"
folder, use the path drop-down and select "Local Disk (C:)" and then browse
to C:\Documents and Settings\All Users\Desktop\Temporary Student Work
Browse in the file list to "Contest2007\PROBLEM_NAME"
Open a file for editing by double-clicking its name.
Compile by selecting "Compile" from the "Build" menu (or by clicking
the green "+" icon). Any compiler errors will be displayed in the bottom pane.
When you are ready to test, open the test class by double-clicking its
name in the left pane (or by selecting its window if you have already opened
it)
and then select "Run" from the menu (or click the red running man icon).
The output from your code will appear in the pane at the bottom of
the jGRASP window.
Submissions
Switch to the "PC^2" window.
In the "Submit" tab, select the appropriate values from the
"Problem" and "Language" drop-downs.
Click the "Select" button next to "Main File". For Java,
you should browse to the .java file that you edited for the problem.
These files will be in
C:\Documents and Settings\All Users\Desktop\Temporary Student Work\Contest2007\Problems\PROBLEM_NAME for jGRASP and
in C:\Documents and Settings\All Users\Desktop\Temporary Student Work\workspace\problemx for Eclipse. Click "OK" once you have
selected the correct file.
Click "Submit".
Click "Submit" again after verifying that the information you
entered was correct.
A message window will appear verifying that you submitted an
attempt at a solution. A little while later (that is, after the
judges have examined your results), you will get a message window
giving you the results -- either "Yes" or "No". You can
see the status of your submissions on the "Runs" tab.