From be2491b093b1f0ca430bede679ecbb670041e483 Mon Sep 17 00:00:00 2001 From: cassio Date: Tue, 2 Jul 2013 09:46:45 +0400 Subject: restructuring of boca's git --- doc/problemexamples/problemtemplate/tests/c | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100755 doc/problemexamples/problemtemplate/tests/c (limited to 'doc/problemexamples/problemtemplate/tests') diff --git a/doc/problemexamples/problemtemplate/tests/c b/doc/problemexamples/problemtemplate/tests/c new file mode 100755 index 0000000..de0a9c5 --- /dev/null +++ b/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 <