Problem repository of KSN 2021 (also known internationally as TOKI KSN Open Contest 2021).
Alias | Slug | Title (id) | Title (en) | Type |
---|---|---|---|---|
0A | ksn-2021-karakter |
Karakter Mandiri | Self Character | batch |
0B | ksn-2021-sandi |
Sandi Biner | Binary Cipher | batch |
0C | ksn-2021-hitung |
Menghitung Bola | Counting Balls | interactive |
1A | ksn-2021-pertahanan |
Pertahanan Mandiri | Self Defence | batch |
1B | ksn-2021-lautan |
Lautan Biner | Binary Sea | batch |
1C | ksn-2021-warna |
Mewarnai Bola | Colouring Balls | interactive |
2A | ksn-2021-permutasi |
Permutasi Biner | Self Permutation | batch |
2B | ksn-2021-daratan |
Daratan Biner | Binary Land | batch |
2C | ksn-2021-roket |
Mengirim Bola | Delivering Balls | batch |
Slug | Problem Author(s) |
---|---|
ksn-2020-karakter |
Abdul Malik Nurrokhman |
ksn-2020-sandi |
Abdul Malik Nurrokhman |
ksn-2020-hitung |
Vio Albert Ferdinand |
ksn-2020-pertahanan |
Ashar Fuadi |
ksn-2020-lautan |
Prabowo |
ksn-2020-warna |
Abdul Malik Nurrokhman |
ksn-2020-permutasi |
Steven Novaryo |
ksn-2020-daratan |
Pikatan Arya Bramajati, Scientific Committee |
ksn-2020-roket |
Abdul Malik Nurrokhman |
The problem statements and upsolving are available on TLX.
The editorial can also be found on the same link
Each problem contains a problem directory root (e.g. ksn-2021-pertahanan/
).
A problem directory root contains the following files and directories:
- ID problem description (
description-id.html
) - EN problem description (
description-en.html
) - Model solution (
solution.cpp
) - Subtasks solution (
solution-{subtask_number}.cpp
) - Test case generator (
spec.cpp
) - Configuration file (
config.json
) - Alternative solutions (
solution_{author}_{verdict}_{solution-name}.cpp
) - Render directory (
render/
) - Helper directory (
helper/
) - Communicator (
communicator.cpp
) - Output validator (
scorer.cpp
)
Problem description in English language. The HTML file uses Katex syntax to render the math equations.
Problem description in Bahasa Indonesia.
The solution used to generate the test cases.
Solutions that are used for the purpose of testing the subtasks.
Test case generator using tcframe v1.6.0.
Contains a JSON object that may help with the automation to choose the correct settings in online judges. Possible configs in this file:
time_limit
(number in ms)memory_limit
(number in kB)samples
(a list of lists that maps a sample to its subtasks)test_groups
(a list of lists that maps test group to its subtasks)points
(a list containing the points of each subtask)interactive
(a boolean).
Several alternative and wrong solutions for the purpose of testing.
Contains the assets that is used by the HTML description file. Usually contains images.
May contain scripts that help with problem preparation or the raw files of the assets in render/
.
For communication in interactive problem using tcframe format
To validate solutions which do not use exact match (may contain multiple solutions or require precision handling) using tcframe format.
All tasks and materials are published under the Creative Commons Attribution (CC-BY) License.