Is this right?

This commit is contained in:
Michael Zhang 2016-10-31 16:13:47 -05:00
parent 2fb5d78d81
commit d7dc20e8dc
4 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1 @@
Use your favorite programming language to print `Hello, world!` to stdout!

3
hello-world/generator.py Normal file
View file

@ -0,0 +1,3 @@
fin = open("case_number", "r")
# Do nothing, as there is no input.

4
hello-world/grader.py Normal file
View file

@ -0,0 +1,4 @@
fin = open("program_output", "r")
output = fin.read().strip()
print "OK" if output == "Hello, world!" else "FAIL"

11
hello-world/problem.yml Normal file
View file

@ -0,0 +1,11 @@
author: mzhang
title: Hello, world!
hint: Having trouble? Check out our tutorial!
category: Programming
autogen: false
programming: true
value: 10
test_cases: 1
time_limit: 1000
memory_limit: 1024