_./
|_ .waff/
'|_ contest.json
|_ tasks/
'|_ A/
'|_ info.json/
|_ statements/
'|_ ru.md (supported only it)
|_ en.tex
,|_ eo.txt
|_ samples/
'|_ 1.in
|_ 1.out
|_ 2.in
,|_ 3.in
? ,|_ files/
|_...
{
"id": {
"contest": <contest-id : i32>,
"group": <group-id : i32>
}
"tasks": [..., "<Litera>",...],
}
{
"name": "<task name : str>",
"id": "<task id : i32>",
"litera": "<task Litera : str>",
"time_limit": <time limit : f32 [sec]>,
"memory_limit": <memory limit : u64 [MB]>,
}
TOKEN='<token>' ./waff-daemonImportant
Use only single quotes ', to prevent replacing $smth substrings in token with enviroment variables.
Tip
You can use -z to start background process
Warning
waff_daemon need to be already started
waff <new | check | submit> ..
waff new [{group-id}:]{contest-id}
waff check {task-litera} {binary-file}
waff submit {task-litera} {code-file} [{language}]cargo build --release
cp target/release/{waff,waff-daemon} ~/.local/bin/