# Pisek example task
# See https://github.com/piskoviste/pisek/blob/master/docs/config-v3-documentation.md for more information

[task]
version=v3
task_type=batch

[tests]
# Generator source file
in_gen=gen
gen_type=pisek-v1

validator=validate
validator_type=simple-42

out_check=judge
# judge source file
out_judge=judge
judge_needs_in=1
judge_needs_out=0
judge_type=cms-batch

# CMS doesn't support normalization, so output can be anything
out_format=binary

checks.all_inputs_in_last_test=on
checks.solution_for_this_test=on

[test01]
points=20
in_globs=*equal*.in

[test02]
points=30
in_globs=*small*.in
predecessors=1

[test03]
points=50
in_globs=*.in
predecessors=2

[solution_solve_last_big]
primary=yes

[solution_solve_small_k]
tests=111T

[solution_solve_all_ones]
tests=X1WW

[run_solution:solve_all_ones]
# We need to increase process limit for Java
process_limit=0

[solution_solve_spread]
tests=P1PP

[run_solution]
time_limit=1

[cms]
name=sandcastles
title=Building sandcastles
time_limit=1
min_submission_interval=30
feedback_level=full
