file in, standard out?
standard in/ standard out works
What is the time limit?
Time limit varies per problem, but all are under 30 seconds. Calgary3 you seem to be caught in an infinite loop.
University of Calgary Programming Contest Control Centre v1.1b
Copyright (c) 2005-2006 by Sonny Chan