Revision: 446
http://acmcontester.svn.sourceforge.net/acmcontester/?rev=446&view=rev
Author: DixonD
Date: 2008-12-11 14:08:54 +0000 (Thu, 11 Dec 2008)
Log Message:
-----------
Change to scriptExample.txt to pass outputs with whitespaces at the end
Modified Paths:
--------------
ACMServer/trunk/sharp tester/Checker/Checker/scriptExample.txt
Modified: ACMServer/trunk/sharp tester/Checker/Checker/scriptExample.txt
===================================================================
--- ACMServer/trunk/sharp tester/Checker/Checker/scriptExample.txt 2008-12-11 11:52:47 UTC (rev 445)
+++ ACMServer/trunk/sharp tester/Checker/Checker/scriptExample.txt 2008-12-11 14:08:54 UTC (rev 446)
@@ -1,3 +1,3 @@
-if (output==correctOutput)
+if (output.TrimEnd(null) == correctOutput.TrimEnd(null))
result='AC';
else result='WA';
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|