joint-online-judge / cb4

Joint Online Judge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Declare language in the `config.yaml` rather than setting it by hand when submitting

linsyking opened this issue · comments

commented

Tools like JOJ-Submitter has to know the language before I submit. Can we directly declare the language in the config files?

Multiple languages can be declared in one problem, the submitter need to tell OJ which one to use. For now there is no default language option for a problem in cb4.

commented

i see the problem was with joj submitter (sorry for disturbing you). is it better to allow one language for one exercise? (not talking about JOJ, just discuss the design of OJ)

Some courses do not force the language used in one problem. Students have to choose.