forked from RagnarGrootKoerkamp/BAPCtools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some use cases: bt pdf --language da : create Danish statement bt pdf : defaults to English statement Performs some consistency checks between problem.yaml and the statements in problem_statement/problem.*.tex hellowholeworld in test/problems contains statements in various language formats (and some deliberate warning-producing entries)
- Loading branch information
1 parent
d78017d
commit 84fdb98
Showing
16 changed files
with
114 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Hello world! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: hello | ||
author: DOMjudge | ||
# BAPC 2020 | ||
source: | ||
# 2020.bapc.eu | ||
source_url: | ||
license: | ||
rights_owner: | ||
# 'default', 'custom', or 'interactive' | ||
validation: default | ||
|
||
# One or more of: | ||
# case_sensitive | ||
# space_change_sensitive | ||
# float_absolute_tolerance eps | ||
# float_relative_tolerance eps | ||
# float_tolerance eps | ||
#validator_flags: | ||
|
||
# To change the time limit factors for Kattis, use: | ||
# limits: | ||
# Time limit is 2*slowest accepted submission: | ||
# time_multiplier: 2 | ||
# Warning for submissions within 1 second of limit: | ||
# time_safety_margin: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
name: | ||
en: Hello, Whole World! | ||
de: Hallo, ganze Welt! | ||
da: Hej, hele verden! | ||
author: Thore Husfeldt | ||
validation: default |
12 changes: 12 additions & 0 deletions
12
test/problems/hellowholeworld/problem_statement/problem.da.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
\problemname{\problemyamlname} | ||
|
||
Hils på hele verden. | ||
|
||
\section*{Indlæsning} | ||
|
||
Dette problem har ingen indlæsning. | ||
|
||
\section*{Udskrift} | ||
|
||
Udskriften består af en enkelt linje, der indeholder strengen »Hello World!«. | ||
|
12 changes: 12 additions & 0 deletions
12
test/problems/hellowholeworld/problem_statement/problem.en.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
\problemname{Hello World} | ||
|
||
Greet the world. | ||
|
||
\section*{Input} | ||
|
||
There is no input for this problem. | ||
|
||
\section*{Output} | ||
|
||
Output should contain one line, containing the string “Hello World!”. | ||
|
12 changes: 12 additions & 0 deletions
12
test/problems/hellowholeworld/problem_statement/problem.sv.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
\problemname{\problemyamlname} | ||
|
||
Hälsa på världen. | ||
|
||
\section*{Indata} | ||
|
||
Detta problemet har ingen inddata. | ||
|
||
\section*{Utskrift} | ||
|
||
Utskriften består av en enskild rad med strängen »Hello World!». | ||
|
Empty file.
1 change: 1 addition & 0 deletions
1
test/problems/hellowholeworld/submissions/accepted/test-hello.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
print("Hello world!") |