Submitting Code
Overview
Most of the code you write for this class will be submitted electronically using the Computer Science Department's submit system at submit.cs.usna.edu (available on the intranet only).
In case you are not already familiar with how to use this system, check
out the instructions at the bottom of this page on how to download your
personalized submit
script.
Important: For labs, only a small number of auto-tests will be run at the time you submit, mostly checking very simple examples to make sure you used the right variable names or input formats. Many more test cases will be run after submission to check whether your solution actually works. In order to do well on labs, you must test your own code thoroughly prior to submission!
Getting the submit script
Before you can submit any code, you need to download your personalized
submit script and place it in your bin
directory in your home
folder. You will have to do this both on your laptop and on the
lab machines.
Follow these specific steps:
- Log on to http://submit.cs.usna.edu, using your USNA credentials, and return to this lab page after logging in
-
Make a directory called
bin
in your home directory. This can be done as:mkdir ~/bin
- Click on "Download Personalized Submission Script", saving the file to the bin directory under your home directory
- Open a terminal give the command:
chmod 700 ~/bin/submit