Added Copyright stuff.

This commit is contained in:
Deathsbreed 2014-10-30 15:21:47 -05:00
parent c9be9f9ab1
commit fe0b52768d
2 changed files with 24 additions and 22 deletions

View File

@ -21,5 +21,5 @@ src/%.o: src/%.c
clean: clean:
$(RM) src/*.o $(RM) src/*.o
fullclean: clean cleanall: clean
$(RM) bin $(RM) bin

View File

@ -47,7 +47,9 @@ int main(int argc, char **argv) {
srand(time(NULL)); srand(time(NULL));
printf("Working...\n");
for(int i = 0; i < trials; i++) { for(int i = 0; i < trials; i++) {
if(i % 100000000 == 0) printf("Working...\n");
int r = rand() % 100 + 1; int r = rand() % 100 + 1;
if(r <= 50) heads++; if(r <= 50) heads++;
else tails++; else tails++;