From: <Or...@us...> - 2008-06-29 17:41:01
|
Revision: 288 http://acmcontester.svn.sourceforge.net/acmcontester/?rev=288&view=rev Author: Oracle_ Date: 2008-06-29 10:41:09 -0700 (Sun, 29 Jun 2008) Log Message: ----------- Added some test sources. Added Paths: ----------- ACMServer/trunk/sharp tester/tester/SAMPLE/source1.txt ACMServer/trunk/sharp tester/tester/SAMPLE/source10.txt ACMServer/trunk/sharp tester/tester/SAMPLE/source11.txt ACMServer/trunk/sharp tester/tester/SAMPLE/source12.txt ACMServer/trunk/sharp tester/tester/SAMPLE/source13.txt ACMServer/trunk/sharp tester/tester/SAMPLE/source2.txt ACMServer/trunk/sharp tester/tester/SAMPLE/source3.txt ACMServer/trunk/sharp tester/tester/SAMPLE/source4.txt ACMServer/trunk/sharp tester/tester/SAMPLE/source5.txt ACMServer/trunk/sharp tester/tester/SAMPLE/source6.txt ACMServer/trunk/sharp tester/tester/SAMPLE/source7.txt ACMServer/trunk/sharp tester/tester/SAMPLE/source8.txt ACMServer/trunk/sharp tester/tester/SAMPLE/source9.txt Added: ACMServer/trunk/sharp tester/tester/SAMPLE/source1.txt =================================================================== --- ACMServer/trunk/sharp tester/tester/SAMPLE/source1.txt (rev 0) +++ ACMServer/trunk/sharp tester/tester/SAMPLE/source1.txt 2008-06-29 17:41:09 UTC (rev 288) @@ -0,0 +1,17 @@ +var a,b:Extended; +i:Integer; +x:array of Integer; +begin + read(a,b); + for i:=1 to 1700000 do + a:=sqrt(a)*sqrt(a)+((sqrt(a)*sqrt(a))/sqrt(a))/sqrt(a)-1; + for i:=1 to 100000000 do ; + for i:=1 to 10 do + begin + SetLength(x,5000000); + x[1237]:=2178; + x[5237]:=2174; + SetLength(x,0); + end; + write(a+b:0:0); +end. \ No newline at end of file Added: ACMServer/trunk/sharp tester/tester/SAMPLE/source10.txt =================================================================== Added: ACMServer/trunk/sharp tester/tester/SAMPLE/source11.txt =================================================================== --- ACMServer/trunk/sharp tester/tester/SAMPLE/source11.txt (rev 0) +++ ACMServer/trunk/sharp tester/tester/SAMPLE/source11.txt 2008-06-29 17:41:09 UTC (rev 288) @@ -0,0 +1,4 @@ +var a:array [1..5000000] of Integer; +begin +fillchar(a,sizeof(a),0); +end. \ No newline at end of file Added: ACMServer/trunk/sharp tester/tester/SAMPLE/source12.txt =================================================================== --- ACMServer/trunk/sharp tester/tester/SAMPLE/source12.txt (rev 0) +++ ACMServer/trunk/sharp tester/tester/SAMPLE/source12.txt 2008-06-29 17:41:09 UTC (rev 288) @@ -0,0 +1,5 @@ +var i:Integer; +begin +for i:=1 to 1025 do + write(' '); +end. \ No newline at end of file Added: ACMServer/trunk/sharp tester/tester/SAMPLE/source13.txt =================================================================== --- ACMServer/trunk/sharp tester/tester/SAMPLE/source13.txt (rev 0) +++ ACMServer/trunk/sharp tester/tester/SAMPLE/source13.txt 2008-06-29 17:41:09 UTC (rev 288) @@ -0,0 +1,5 @@ +var i:Integer; +begin + for i:=1 to 1024 do + write(' '); +end. \ No newline at end of file Added: ACMServer/trunk/sharp tester/tester/SAMPLE/source2.txt =================================================================== --- ACMServer/trunk/sharp tester/tester/SAMPLE/source2.txt (rev 0) +++ ACMServer/trunk/sharp tester/tester/SAMPLE/source2.txt 2008-06-29 17:41:09 UTC (rev 288) @@ -0,0 +1,7 @@ +var a,b:Extended; +i:Integer; +x:array of Integer; +begin + read(a,b); + write(a+b:0:0); +end. Added: ACMServer/trunk/sharp tester/tester/SAMPLE/source3.txt =================================================================== --- ACMServer/trunk/sharp tester/tester/SAMPLE/source3.txt (rev 0) +++ ACMServer/trunk/sharp tester/tester/SAMPLE/source3.txt 2008-06-29 17:41:09 UTC (rev 288) @@ -0,0 +1 @@ +uses windows; begin while true do; end. \ No newline at end of file Added: ACMServer/trunk/sharp tester/tester/SAMPLE/source4.txt =================================================================== --- ACMServer/trunk/sharp tester/tester/SAMPLE/source4.txt (rev 0) +++ ACMServer/trunk/sharp tester/tester/SAMPLE/source4.txt 2008-06-29 17:41:09 UTC (rev 288) @@ -0,0 +1,4 @@ +uses windows; +begin +sleep(10000); +end. Added: ACMServer/trunk/sharp tester/tester/SAMPLE/source5.txt =================================================================== --- ACMServer/trunk/sharp tester/tester/SAMPLE/source5.txt (rev 0) +++ ACMServer/trunk/sharp tester/tester/SAMPLE/source5.txt 2008-06-29 17:41:09 UTC (rev 288) @@ -0,0 +1,5 @@ +var a,b:integer; +begin + read(a,b); + write(a+b,' '); +end. \ No newline at end of file Added: ACMServer/trunk/sharp tester/tester/SAMPLE/source6.txt =================================================================== --- ACMServer/trunk/sharp tester/tester/SAMPLE/source6.txt (rev 0) +++ ACMServer/trunk/sharp tester/tester/SAMPLE/source6.txt 2008-06-29 17:41:09 UTC (rev 288) @@ -0,0 +1,5 @@ +begin +assignfile(output,'out.txt'); +rewrite(output); +closefile(output); +end. \ No newline at end of file Added: ACMServer/trunk/sharp tester/tester/SAMPLE/source7.txt =================================================================== --- ACMServer/trunk/sharp tester/tester/SAMPLE/source7.txt (rev 0) +++ ACMServer/trunk/sharp tester/tester/SAMPLE/source7.txt 2008-06-29 17:41:09 UTC (rev 288) @@ -0,0 +1,4 @@ +begin +assignfile(input,'source.txt');reset(input); +closefile(input); +end. \ No newline at end of file Added: ACMServer/trunk/sharp tester/tester/SAMPLE/source8.txt =================================================================== --- ACMServer/trunk/sharp tester/tester/SAMPLE/source8.txt (rev 0) +++ ACMServer/trunk/sharp tester/tester/SAMPLE/source8.txt 2008-06-29 17:41:09 UTC (rev 288) @@ -0,0 +1,4 @@ +var a:array [1..2147000000] of char; +begin + fillchar(a,0,sizeof(a)); +end. \ No newline at end of file Added: ACMServer/trunk/sharp tester/tester/SAMPLE/source9.txt =================================================================== --- ACMServer/trunk/sharp tester/tester/SAMPLE/source9.txt (rev 0) +++ ACMServer/trunk/sharp tester/tester/SAMPLE/source9.txt 2008-06-29 17:41:09 UTC (rev 288) @@ -0,0 +1 @@ +hello! \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |