From 2948fe8d6055f6dfe6289e64bce426b5e0bb552f Mon Sep 17 00:00:00 2001 From: cassiopc Date: Fri, 31 Aug 2012 11:02:27 +0200 Subject: inclusion of dir 1.5.1 for boca --- .../doc/problemexamples/problemtemplate/tests/c | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100755 boca-1.5.1/doc/problemexamples/problemtemplate/tests/c (limited to 'boca-1.5.1/doc/problemexamples/problemtemplate/tests') diff --git a/boca-1.5.1/doc/problemexamples/problemtemplate/tests/c b/boca-1.5.1/doc/problemexamples/problemtemplate/tests/c new file mode 100755 index 0000000..de0a9c5 --- /dev/null +++ b/boca-1.5.1/doc/problemexamples/problemtemplate/tests/c @@ -0,0 +1,36 @@ +#!/bin/bash +# +# This file performs a test of the autojudge system. It can run whatever you feel important to test the autojudge +# and the script files that are included in the problem package + +cat > test.c < +int main() { + char s[100]; + scanf("%s", s); + printf("%s\n",s); + return 0; +} +EOF +cat > test.in <