From dca7ba5af36ab2358b55c19f12be1c174134239f Mon Sep 17 00:00:00 2001
From: "ap9176@student.uni-lj.si"
2. Use VirtualBox (or another program that suits your preferences) create two virtual machines with virtual hard drive files from previous step.
3. Run both virtual machines.
- 4. Use username root and password kaboom to log into client. For loging into server use username tester and password SedemKrogovPekla
JAVA------
- 1. Command nano bintodec3.java creates and opens empty text editor.
+ 1. Command nano guliver.java creates and opens empty text editor.
2. Write a program that converts 32bit numbers in two's complement to decimal.
3. Press Ctrl+X, then Y and Enter to save our program
4. In case you don't have java installed write sudo apt-get install openjdk-6-jdk to install it
5. Compile program with command javac bintodec3.java
- 6. We can test our new program with java bintodec3. Now we input some 32bit numbers in hexadecimal format
PYTHON------
- 1. Command nano bintodec3.py creates and opens empty text editor.
+ 1. Command nano guliver.py creates and opens empty text editor.
2. Write a program that converts 32bit numbers in two's complement to decimal.
3. Press Ctrl+X, then Y and Enter to save our program
- 4. We can test our new program with python bintodec3.py
diff --git a/kpov_judge/tasks/custom_rdate/howtos/si/index.html b/kpov_judge/tasks/custom_rdate/howtos/si/index.html
index a628a5a..51d5d44 100644
--- a/kpov_judge/tasks/custom_rdate/howtos/si/index.html
+++ b/kpov_judge/tasks/custom_rdate/howtos/si/index.html
@@ -13,7 +13,7 @@
2. Z VirtualBoxom (ali ostalim programom za virtualne računalnike) ustvarite dva virtualna računalnika in jim kot disk za shranjevanje podajte Student.vdi ter SimpleArbiterRDate.vdi.
3. Zaženite oba navidezna računalnika.
4. Na Student se prijavite z uporabnikom root in geslom kaboom
-na SimpleArbiterRDate pa z uporabnikom tester in geslom SedemKrogovPekla.
JAVA------
- 1. Z ukazom nano bintodec3.java ustvarimo in odpremo prazen program s tekstovnim urejevalnikom nano
+ 1. Z ukazom nano guliver.java ustvarimo in odpremo prazen program s tekstovnim urejevalnikom nano
2. Napišemo program za pretvarjanje 32-bitnega števila v ÄŤas
3. Pritisnemo Ctrl+X, nato Y in Enter, da program zapremo in shranimo.
4. Če je še nimamo, naložimo Javo sudo apt-get install openjdk-6-jdk
5. Prevedemo program javac bintodec3.java
- 6. Lahko ga še zaženemo ter preizkusimo java bintodec3. Na standardni vhod vnasemo IP naslov ali ime streĹľnika NTP streĹľnikm ki nam pošlje 32 bitno število in pretvori v ÄŤas
PYTHON------
- 1. Z ukazom nano bintodec3.py ustvarimo in odpremo prazen program s tekstovnim urejevalnikom nano
+ 1. Z ukazom nano guliver.py ustvarimo in odpremo prazen program s tekstovnim urejevalnikom nano
2. Napišemo program za pretvarjanje 32-bitnega števila v ÄŤas
3. Pritisnemo Ctrl+X, nato Y in Enter, da program zapremo in shranimo.
- 4. Program zaženemo z ukazom python bintodec3.py
-- cgit v1.2.1