summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks
diff options
context:
space:
mode:
authorgasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-10-27 16:50:24 +0000
committergasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-10-27 16:50:24 +0000
commita30cb3c64da93b8667ad55213d850eadcbad7844 (patch)
tree6e690db5cbc6ce7a37f3645fbfbf4d2781eaa7c6 /kpov_judge/tasks
parentd02cd69a8391df327dbfb367d57b8927eeddc6fc (diff)
Fixed encoding in pristopni_kolokvij
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@345 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/tasks')
-rw-r--r--kpov_judge/tasks/mock_entrance_exam/task.py16
1 files changed, 12 insertions, 4 deletions
diff --git a/kpov_judge/tasks/mock_entrance_exam/task.py b/kpov_judge/tasks/mock_entrance_exam/task.py
index 998bd24..493366b 100644
--- a/kpov_judge/tasks/mock_entrance_exam/task.py
+++ b/kpov_judge/tasks/mock_entrance_exam/task.py
@@ -1,3 +1,6 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+#
# TODO:
# - check if everything is filled in (computers, params, preparation)
# - improve scoring
@@ -5,7 +8,12 @@
# - switch to a real SSH/SFTP client to properly handle filenames
instructions = {
- 'si': u'''simpleArbiter povezan na Internet. Računajte, da se na student ob zagonu zažene program {net_prog_name},
+ 'si': u'''
+Postavite dva navidezna računalnika - SimpleArbiter in Student.
+Oba naj bosta povezana na internet. Poleg tega mora biti
+Student na naslovu {student_IP} dostopen s SimpleArbiter.
+
+Računajte, da se na Student ob zagonu zažene program {net_prog_name},
ki vam spreminja nastavitve mrežne kartice.
V domačem imeniku uporabnika student obstaja program {P_c} v programskem jeziku C.
@@ -14,9 +22,9 @@ Izvorna koda je namenoma pokvarjena tako, da so vanjo vrinjeni nepotrebni znaki.
Pred prevajanjem jo morate popraviti.
Napišite skripto ali program {P_script} v domačem imeniku uporabnika student, ki:
-- požene {P_executable} z argumentom {arg_c} in mu na standardni vhod pripelje vrednost spremenljivke {env_c}
-- vse, kar {P_c} izpiše na stderr, spravi v datoteko {out_stderr_c}.
-- vse vrstice, ki jih {P_c} izpiše na stdout in vsebujejo zaporedje znakov "ma", zapiše v {out_stdout_c}.
+- požene {P_executable} z argumentom "{arg_c}" in mu na standardni vhod pripelje vrednost spremenljivke {env_c}
+- vse, kar {P_executable} izpiše na stderr, spravi v datoteko {out_stderr_c}.
+- vse vrstice, ki jih {P_executable} izpiše na stdout in vsebujejo zaporedje znakov "ma", zapiše v {out_stdout_c}.
Lastnik vseh ustvarjenih datotek mora biti uporabnik student.