Hey, folks!
I am not a fan of sport-programming t-shirts, but surely know that some of you would like to have one. If you wanna get a t-shirt, just add yourself in Google Form. After a couple of days I will pick a person randomly from the list, and contact him/her for contacts.
Also, I didn't decide how to calculate a random seed fair enough. So, feel free to propose something :)
Cheers!
Edit 1: Guys, please, don't mess around with the doc. Now you cannot edit the doc, please, add a comment with your handle.
Edit 2: Ok, you forced me to delete Google Doc, and spend more time, thanks :) Please, add you handle again in Google Form. Pay attention, you can only add your handle once. Make sure you wrote it correctly. Also to prevent cheating, I will chose among people who participated in at least 2 competitions.
Edit 3: Seems that everybody who wanted to participate in this put nickname in form. So, we can start the lottery.
I was super lazy, so I decided not to do anything complicated. I wrote python script:
#!/usr/bin/python import random filename = "input.txt" times = 20 with open(filename) as f: lines = f.readlines() random.seed(314159265) for i in xrange(times): index = random.randint(0, len(lines) - 1) name = lines[index] print index, name[:len(name)-1]
Firstly, I picked 20 nicknames:
- 202 TooSchoolForCool
- 179 Hdz_78
- 202 TooSchoolForCool
- 259 LouisCK
- 18 serghov
- 324 krismaz
- 290 dutzul
- 188 Swift
- 86 Elk-cloner
- 233 TahaMahmoud
- 251 bnick
- 179 Hdz_78
- 168 muratt
- 107 heaton
- 6 zeulb
- 53 Prestige
- 157 bayram
- 242 Mohammad_Mohsin_COU
- 120 sampriti
- 199 gridnevvvit
Interesting that Mohammad_Mohsin_COU wrote his nickname in a wrong way, but I fixed it :)
Then I ran the same program with another filename and times=1. And the winner is: muratt. Congratulations to him!
For the random seed: write a program to get the number of participants and output one randomly (but independently of the computer the program is running or the time the program was executed). Send (or upload) the program in a compressed file protected by password, and reveal the password the day you want to finish the charity.
Sounds good enough! Thanks for suggestion :)
My method to choose a seed:
Downvote the post, so that it will disappear from the recent actions. XD
is it gonna be free ?
totally
what a generosity :D
A few observations: I don't think people will stop trolling around the document; maybe a Google Form would be better. Also there's the case of people with multiple accounts (since I don't think you want the burden of checking everyone). In any case, it's a very interesting social experiment)))
Creating fake accounts for Gerald's T-shirts. :))
it would be better if you haven't said that :)
There are many spammers in doc.
i think you should only give it to people who are <= Master because most of other people have a t-shirt.
I'd love to get a T-shirt! :)
I'd like to get a T-Shirt =)
I'd like to get a t-shirt as well.
I had posted in the Google doc but my id got trolled sigh
add my handle! I want one too!
Sorry guys, some of you have to add handle in Google Form again. Hope, that this time there will be no mess.
Does anyone want to bet how many red will apply for a free T-shirt? :-)
Let's bet on a T-shirt
Cool, I'm no longer red so this doesn't apply to me =)
More like, how many people who actually won a t-shirt will still apply. Ultimate trolling :D
What's wrong with wanting 2 T-shirts :p
(for those who think I'm serious: no I didn't win a T-shirt and I didn't apply for this)
So turns out that this joke wasn't a complete joke, out of those 19 people mentioned in Gerald's list the colour distribution is as follows:
red: 2
orange: 4
purple: 7
blue: 3
green: 2
gray: 1
You can take some function from string to int, and winner would be a man with the greatest value of function(handle).
Aha, codeforces rating:)
Yeah, and we can pick the smallest value, not the biggest :P
So worse wins, no thanks. But the idea of a function is great.
Sine function of user rating is good idea imho
When you do the Lotteries
I want a T-shirt too =D
You shouldn't give t-shirt to unrated accounts because someone can make many accounts easily
I will chose among people who participated in at least 2 competitions.
Weaponised shitposting.
(here's the original version)
Can you always do this when you got a t-shirt :P
So close, Only two names between me and winner) Congrats!