Harvey Mudd College
Computer Science Department

ACM Problems Page     http://www.cs.hmc.edu/ACM

 
  TEAM         Red Shirts         JoshTitus         The Judges         EthanOtto         CharlieSolo         UppityFrosh
 
Excuses!          
NY
       
4/18 (5:15)
       
4/18 (5:00)
       
NY
       
4/18 (5:10)
       
NY
    excuses.in     excuses.out                        
 
  April 18, 2000
 
Anchors Away          
4/13 (4:00)
       
4/11 (5:00)
       
4/11 (5:00)
       
4/11 (5:15)
       
4/11 (5:30)
       
4/11 (5:30)
    anchor.in     anchor.out                        
 
  April 11, 2000
 
Palindromes          
4/13 (4:00)
       
NY
       
4/4 (6:00)
       
NY
       
NY
       
NY
    palindrome.in     palindrome.out                        
 
  April 4, 2000
 
Matty's Blocks          
4/6 (5:00)
       
3/28 (11:00)
       
NY
       
4/4 (5:00)
       
NY
       
NY
    blocks.in     blocks.out                        
 
Divisors          
NY
       
3/28 (10:30)
       
NY
       
NY
       
NY
       
3/29 (2:00)
    divisors.in     divisors.out                        
 
  March 28, 2000
 
The Orchard          
NY
       
NY
       
NY
       
NY
       
NY
       
NY
    orchard.in     orchard.out                        
 
  March 21, 2000
 
Filling the Gaps          
NY
       
NY
       
3/7 (6:00)
       
NY
       
3/8 (11:30)
       
3/3 (6:30)
    gaps.in     gaps.out                        
 
  March 7, 2000
 
Coin Tosses          
2/24 (4:30)
       
2/22 (5:20)
       
2/22 (6:10)
       
2/22 (5:00)
       
NY
       
3/7 (4:30)
    coin.in     coin.out                        
 
  February 22, 2000

 
Climbing Trees  
    Test1.in     Test1.out
 
Equations  
    Test1.in     Test1.out
 
  February 15, 2000
 
Bank (Not Quite OCR)   (Central European Regionals '95)
 
  February 8, 2000
 
Find The Base   (Arab/African Regionals '98)
    Test1.in     Test1.out
 
Flying Stars Problem   (NE Europe '98)
    Test1.in     Test1.out
 
  January 18, 2000

Submitting your code

Be sure to name your file as specified in the problem, and then type
acmSubmit <filename>.cc
where acmSubmit is available in /home/dodds/ACM/TestScripts. Feel free to copy it locally if you wish.

The script will test your file against a number of inputs. The test files are available for viewing (if you get stuck) at /home/dodds/ACM/TestCode. If your program passes all of the tests (because its output matches that of the anticipated output), the script will let you know; if your code does not pass, a "diff" listing of how it failed will be printed.

Compiling your code:

Make your code with the command

g++ filename.cc
to create an executable file named a.out.

To check your code, download the input and output files (right-click on the links and choose"save link as...") from above to your directory and then run

a.out < Test#.in
That will print the results to the console (standard out) for inspection. To check those results against the (hopefully) correct output file, run
a.out < Test#.in | diff - Test#.out
If nothing appears on the screen, your program's output and the actual output are identical. If they are not identical, the mismatching lines are printed to stdout.