imagine being a 1/3 virgin and not a 1/2 chad when solving your critical change math problems
1/3 virgin vs 1/2 chad
Other urls found in this thread:
en.wikipedia.org
twitter.com
This fucking guy gets it. 1/2 Chads UNITE
This is THE proper simulation. It yields 1/3.
Prove me wrong
what is your last 1/6th?
you understand, you based SOB, why be a virgin in terms of sex and math? the 1/3 virgins must also be retards
ah the 1/3 virgin coding in the virgin programming language, a shame really
cringe and bluepilled
Why are you guys so in to this?
post your chad code that results in 1/2 or stfu
Never had actual sex before, but I got a girl to give me a hand job? Does that mean I'm a 1/4 virgin?
1/4 is worse than 1/2 desu
1/2 is wrong but at least debatable
but 1/4 is never given as an answer by anyone outside of this board
en.wikipedia.org
coded in the language of chads, c++, i even added comments so your tinnitus ridden brainlet dumbass could figure it out
I can't read that code, but I'm pretty sure you can just make computers say whatever answer you want them to. NEXT.
so you're blind and autistic then? NEXT.
you're missing the case where the first is not a crit and the second is.
IF YOU ASSUME ONE IS A CRIT THE SECOND ONE IS 1/2
wtf is this shit? why do you even need the if statement if i is a constant? i am even comment on the general idea which is not a simulation at all just some fucking one step formula.
here, i optimized your code:
printf ("1/2\n");
we are not trying to figure out if the second one is a crit or not we are trying to figure out if both hits are crits, i could reverse the problem and make i represent the second hit and t represent the first hit, t is still affected by my rng and will use the 50% chance stated in the problem asked to determine if both the hits are crits of if only one hit is a crit
You finally made me laugh about this. Thanks user.
because i like to use goddamn if statements and it doesn't matter if it makes the program longer for me in such a short sim it makes it look better imo
so your code is literally
(rand() % 2) + 1
that's it?
what is it supposed to print, what kind of values?
the rng to represent crit or not
this shit is not hard to follow
of course it is not hard to follow but it is gibberish.
what specifically will it print if you run it 10 times?
can you show the output? do you expect to see 1/2 since you are a 1/2 chad?
run it yourself faggot and go get a c++ ide, it will either print 2 crits or 1 crit and no crit, which is what the problem requires to solve
we're done here virgin, go back to your 3rd grade math class and learn for a few years to try and figure this problem out
i don't need to run it to see it is fucking bullshit.
the problem asks you to give a probability (the average of multiple experiments). not print 1's and 2's you fucking idiot.
i honestly don't think i can simplify this further, its so clearly 1/2, so i have one final question: how does it feel to be a brainlet?