*Tento dokument stanovuje pravidla pro střelné zbraně na letošním Černoboru. Pravidla vám možná zpočátku budou připadat přísná, ale je důležité si uvědomit, že nejste na bitvě, ale na dětském táboře. Na bitvách ručí za luk i vystřelený šíp jeho majitel, účastníci jsou starší 18 let (od 15 se souhlasem rodičů); u nás však hráči začínají na 11 letech
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ ! -f group ] | |
then | |
cp /etc/group ./group | |
chmod u+x ./group | |
fi | |
awk -F: '{ if ($3 != 0) { print $1":"$2":"($3+1)":"$4 } else { print $1":"$2":"$3":"$4 }}' ./group > tmpgroup | |
mv tmpgroup group |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int numOfDays(int m, int y) | |
{ | |
return 0; | |
} | |
int isLeapYear(int y) | |
{ | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PROG=./main.o | |
for IN_FILE in */*_in.txt | |
do | |
REF_FILE=`echo -n $IN_FILE | sed -e 's/\(.*\)_in.txt$/\1_out.txt/'` | |
$PROG < $IN_FILE > temp_out.txt | |
if ! diff $REF_FILE temp_out.txt | |
then |
I hereby claim:
- I am andior on github.
- I am andior (https://keybase.io/andior) on keybase.
- I have a public key whose fingerprint is 7E39 B58E 479D FD67 0925 7326 4293 6A28 C443 ABA5
To claim this, I am signing this object: