summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/custom_rdate
diff options
context:
space:
mode:
authorgasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-03-17 16:02:15 +0000
committergasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-03-17 16:02:15 +0000
commit4df70266cf670f5f12f3219b18e59b7aaafaf1b0 (patch)
treee45f681204b3a089086e98ac67ad83f538f66478 /kpov_judge/tasks/custom_rdate
parentdd9bc626dcb1af109fa12960de70a3ef53aef323 (diff)
Fixed instructions
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@288 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/tasks/custom_rdate')
-rw-r--r--kpov_judge/tasks/custom_rdate/task.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/kpov_judge/tasks/custom_rdate/task.py b/kpov_judge/tasks/custom_rdate/task.py
index c619122..1f73887 100644
--- a/kpov_judge/tasks/custom_rdate/task.py
+++ b/kpov_judge/tasks/custom_rdate/task.py
@@ -3,7 +3,6 @@
# kpov_random_helpers should be imported by add_assignment.py
# TODO: finish this!
-
instructions = {
'si':u"""
Postavite dva navidezna racunalnika:
@@ -13,7 +12,8 @@ Postavite dva navidezna racunalnika:
Na rdateClient ustvarite uporabnika test z geslom test. Nastavite cas na
rdateClient tako, da kot rdate strežnik uporabite SimpleArbiterDhcpRdate.
Nato v domacem imeniku uporabnika test ustvarite program z imenom
-PROGRAM_FILENAME. Vrednost PROGRAM_FILENAME preberete na SimpleArbiterDhcpRdate.Program naj prebere 4 byte podatkov s standardnega vhoda in jih pretvori v
+{PROGRAM_FILENAME}.
+Program naj prebere 4 byte podatkov s standardnega vhoda in jih pretvori v
predznaceno celo število, pri čemer naj uporablja zapis z debelim koncem
(big endian).
Število naj program izpiše na standardni izhod v obliki niza.
@@ -22,6 +22,14 @@ predznaceno celo število, pri čemer naj uporablja zapis z debelim koncem
Setup two virtual machines:
- SimpleArbiterDhcpRdate from disk image simpleArbiterRdate and
- rdateClient.
+
+On rdateClient, create a user with the username test and password test.
+Set the time on rdateClient using rdate with SimpleArbiterDhcpRdate as
+the server. Then, write a program called {PROGRAM_FILENAME} and put it in
+user test's home directory.
+The program should read 4 bytes of data from standard input, convert
+them into a signed integer using big endian byte ordering and output the
+resulting integer (as a string) to standard output.
"""
}