![]() |
![]() South Central USA Regional Programming Contest
FAQ |
![]() |
||
ACMACM Home PageIntl Prog Contest South Central US Region Local ContestHomeSchedule Information Details FAQ ResultsReportFinal Attempts Times Problems Movies Contest
Welcome |
Frequently Asked Questions
1) Who will provide the computers for the contest?LSU will provide all the computer systems that will be used by competitors and judges during the contest. The contest will be held in public lab facilities that are normally available to all LSU students (except during special events like this). Return to Top of Page. 2) What will the computers be?All systems will be Pentiums running at 500 MHz or faster. All systems will have at least 256 MB of memory and 17" monitors. All systems will run Windows NT 4 or Windows 2000. Return to Top of Page. 3) What software will be available?During the contest, only the approved languages (IBM Visual Age C/C++, IBM Java, and Borland Delphi) will be available as programming languages (Microsoft Visual C/C++, and GNU C/C++ will NOT be available). The Internet will NOT be accessible. If anyone has any software requests (such as favorite editors), please send e-mail to contest@contest.csc.lsu.edu. As new items are defined as available, I will list them here. Return to Top of Page. 4) Can I get the software before the contest?Yes - after a team pays its fees, the software will be mailed to the team. Return to Top of Page. 5) What may the teams bring?Teams may bring in any reference materials they desire as long as:
Return to Top of Page. 6) When can we use the computers before the contest?The schedule now has the Coates Computer Lab reserver Friday from 4:30 PM until 10:00 PM (there will be a couple of other things during that time to tear you away). You will also have the practice contest Saturday morning. Return to Top of Page. 7) What is the registration process?
Return to Top of Page. 8) Who do we make out the check or money order for the contest fee?Please make all checks payable to CSC Programming Contest. This is very important! You should send your check or money order to the following address: LSU Computer Science Department ACM Regional Programming Contest 289 Coates Hall Baton Rouge, LA 70803 Return to Top of Page. 9) How is the Hotel/Accomodations being handled? By whom? Are there special rates?See the Local Information Page for details. Return to Top of Page. 10) How do I install VAC v4.0 on Windows 2000?
Return to Top of Page. 11) How will the problems be judged?When a team "Test"'s a file using the PC2 client or when a judge receives a submission and is going to judge it, the following two scripts get run. The first one sets things up and then calls the second one to do the actual compilation. The actual output from the compilation will be judged visually by a human judge, comparing a team's output with sample output. runscr.bat @echo off rem created by pc2 v7 Fri Oct 20 17:32:13 CDT 2000 rem 1: judge scrip to run rem 2: source file (no path) with extension rem 3: source file (no path) without extension rem 4: language short name rem 5: problem number echo echo Version 3 of Run Script echo Changing to execute directory cd execute echo Copying judging script: %1 if exist c:\temp\%1 erase c:\temp\%1 copy %1 c:\temp echo Copying source file: %2 if exist c:\temp\%2 erase c:\temp\%2 copy %2 c:\temp echo Copying input file for problem %5 if %5. == 1. copy y:\i1.inp c:\temp\input.txt if %5. == 2. copy y:\i2.inp c:\temp\input.txt if %5. == 3. copy y:\i3.inp c:\temp\input.txt if %5. == 4. copy y:\i4.inp c:\temp\input.txt if %5. == 5. copy y:\i5.inp c:\temp\input.txt if %5. == 6. copy y:\i6.inp c:\temp\input.txt if %5. == 7. copy y:\i7.inp c:\temp\input.txt if %5. == 8. copy y:\i8.inp c:\temp\input.txt if %5. == 9. copy y:\i9.inp c:\temp\input.txt if %5. == 10. copy y:\i10.inp c:\temp\input.txt echo Changing to C:\temp c: cd \temp echo Calling judging script call %1 %2 %3 %4 %5 echo echo End of Run Script pause exit judge5.bat @echo off rem rem Purpose: used as juding script (compile and execute) for pc2v7 rem Environment: Windows '95, '98, 'NT rem Author: pc2@ecs.csus.edu rem Revised: Sept 2, 2000 rem Revised: BDRH, IWT rem rem Parameters: rem 1: name of file with extension (no path) rem 2: name of file with no extension rem 3: language/compiler name rem rem Examples: rem v7judge hello.java hello java rem v7judge hello.c hello cpp c: cd \temp echo This is version 5 of the judging script pause if %3. == java. goto :dojava if %3. == cpp. goto :docpp if %3. == c. goto :docpp if %3. == delphi. goto :dodelphi rem Unsupported languages below rem if %3. == vaj. goto :dovaj rem if %3. == pascal. goto :dopas rem if %3. == tcpp. goto :dotcpp rem if %3. == mvc. goto :domvc echo echo Error - Unknown/Unsupported language %3 echo echo Usage: v7judge.bat name.ext name lang echo echo Example: v7judge hello.java hello java echo goto :End rem ****************************************************** rem Java rem ****************************************************** :dojava set CLASSPATH=.;c:\java\lib;%CLASSPATH% PATH=c:\java\bin;%PATH% echo Compiling Java javac %1 echo Executing program %2 java %2 > output.txt echo program done - starting notepad with java output... rem notepad output.txt path\%2.out notepad output.txt Goto :End rem ****************************************************** rem IBM's VisualAge C++ rem ****************************************************** :docpp rem echo target is a.exe call C:\IBMCPPW40\BIN\setenv.BAT path=C:\IBMCPPW40\BIN;%path% rem option link(subsystem, "console") rem { rem target "Untitled.exe" rem { rem source "..\\tmp\\samps\\HELLO.CPP" rem } rem } echo option link(subsystem, "console") > makefile.icc echo { >> makefile.icc echo target "a.exe" >> makefile.icc echo { >> makefile.icc echo source "%1" >> makefile.icc echo } >> makefile.icc echo } >> makefile.icc echo Compiling %1 as C or C++ vacbld -noc makefile.icc erase makefile.icc echo Executing program... a.exe > output.txt echo program done - starting notepad with C / C++ output... notepad output.txt goto End: rem ************************************** rem Delphi 4 rem ************************************** :dodelphi rem hello.dpr hello delphi PATH=%PATH%;"c:\Program Files\BORLAND\Delphi4\BIN" rem PATH=%PATH%;"c:\Program Files\BORLAND\Delphi4\BIN" echo Compiling %1 as Pascal DCC32 %1 echo Executing program: %2 %2 > output.txt echo program done - starting notepad... notepad output.txt goto End rem ************************************** rem UNUSED LANGUAGES rem ************************************** rem ************************************** rem Java using package named: solution rem dovaj rem ************************************** :dovaj set CLASSPATH=.;c:\java\lib;%CLASSPATH% PATH=c:\java\bin;%PATH% echo Creating and clearing solution directory mkdir solution 2> null move *.java solution echo Compiling Java javac solution\%1 echo Executing program solution.%2 java solution.%2 > output. echo program done - starting notepad... notepad output. Goto :End rem ************************************** rem Turbo Pascal rem ************************************** :dopas echo Compiling Pascal rem C:\tp\bin\tpc.exe %1 rem c:\turbo\turbo7/tpc.exe %1 tpc.exe %1 echo Executing program %2.exe > output. C:\IBMCPPW40\BIN\setenv.BAT C:\IBMCPPW40\BIN\setenv.BA C:\IBMCPPW40\BIN\setenv.BAT T echo program done - starting notepad... notepad output. Goto :End rem ************************************** rem Turbo C++ rem ************************************** :dotcpp echo Compiling %1 as C or C++ path=%path%;c:\bc5\bin; path=c:\bc5\bin;%path%; bcc32 -IC:\BC5\INCLUDE -LC:\BC5\LIB %1 echo Executing program %2.exe > output. echo program done - starting notepad... notepad output. goto End: rem ************************************** rem Microsoft Visual C++ rem ************************************** :domvc echo Compiling Microsoft Visual C++ if exist c:\progra~1\micros~1\nul Path=C:\PROGRA~1\MICROS~1\VB98;C:\PROGRA~1\MICROS~1\VC98\bin;%PATH% if exist c:\progra~1\micros~2\nul Path=C:\PROGRA~1\MICROS~2\VB98;C:\PROGRA~1\MICROS~2\VC98\bin;%PATH% if exist C:\PROGRA~1\MICROS~1\VC98\nul set MSVCDir=C:\PROGRA~1\MICROS~1\VC98 if exist C:\PROGRA~1\MICROS~2\VC98\nul set MSVCDir=C:\PROGRA~1\MICROS~2\VC98 set PATH=%MSDevDir%\BIN;%MSVCDir%\BIN;%VSCommonDir%\TOOLS\%VcOsDir%;%VSCommonDir%\TOOLS;%PATH% set INCLUDE=%MSVCDir%\ATL\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\MFC\INCLUDE;%INCLUDE% set LIB=%MSVCDir%\LIB;%MSVCDir%\MFC\LIB;%LIB% cl %1 %2.exe > output. notepad output. goto End rem ************************************** rem END of batch file rem ************************************** :End echo End of judging script run... pause rem end of script Return to Top of Page. 12)
Return to Top of Page.
|
LSUHomeMap Search ACM Chapter Computer Science Computing Services |
This page last updated 2000/11/16 14:32:17.