[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/jp/ - Otaku Culture

Search:


View post   

>> No.15035584 [View]
File: 290 KB, 580x650, cirno eating frozen watermelon.png [View same] [iqdb] [saucenao] [google]
15035584

>>15035423
>>15035435
>>15035439
>>15035467
You damn bakas.

#include <cstdlib>
#include <ctime>
#include <cstdio>

using namespace std;

#define NUM_TRIALS (1000000)

enum Bun {
Meat,
Natto
};

int main () {
srand(time(nullptr));

Bun boxes[3][2] = { { Meat, Meat }, { Meat, Natto }, { Natto, Natto } };

double numberOfTimesChenPickedMeat = 0;
double numberOfTimesChenPickedMeatAndThenMeat = 0;
for (int i = 0; i < NUM_TRIALS; i++) {
auto box = rand() % 3;
auto firstBun = rand() % 2;
auto secondBun = firstBun == 1 ? 0 : 1;
if (boxes[box][firstBun] == Meat) {
numberOfTimesChenPickedMeat++;
if (boxes[box][secondBun] == Meat) {
numberOfTimesChenPickedMeatAndThenMeat++;
}
}
}

printf("Probability of picking meat again after picking meat once: %1.5f", (numberOfTimesChenPickedMeatAndThenMeat / numberOfTimesChenPickedMeat) * 100.0);

return 0;
}

Probability of picking meat again after picking meat once: 66.74903
Probability of picking meat again after picking meat once: 66.65955
Probability of picking meat again after picking meat once: 66.67439
...etc.

(there we go, don't make fun of my trashcan no bully please)

>> No.11163159 [View]
File: 290 KB, 580x650, cirno eating frozen watermelon.png [View same] [iqdb] [saucenao] [google]
11163159

>> No.9817268 [View]
File: 290 KB, 580x650, baka.png [View same] [iqdb] [saucenao] [google]
9817268

>> No.9486156 [View]
File: 290 KB, 580x650, 1334496684520.png [View same] [iqdb] [saucenao] [google]
9486156

>>9486126
Can I beat you up? What's your address?

>> No.9219938 [View]
File: 290 KB, 580x650, 1338910301141.png [View same] [iqdb] [saucenao] [google]
9219938

>>9219922
>"autisc"

What's that?

>> No.8858453 [DELETED]  [View]
File: 290 KB, 580x650, c29846fa2ab5113aa51a5f2cae6bba0a644b9d8b.png [View same] [iqdb] [saucenao] [google]
8858453

when tuhus gonna fuk?

>> No.7801595 [View]
File: 290 KB, 580x650, c29846fa2ab5113aa51a5f2cae6bba0a644b9d8b.png [View same] [iqdb] [saucenao] [google]
7801595

>>7801577
Lieutenant Dan, I got you some ice cream.

Lieutenant Dan, ice cream.

>> No.7641107 [View]
File: 290 KB, 580x650, 1311142605159.png [View same] [iqdb] [saucenao] [google]
7641107

>> No.7504305 [View]
File: 290 KB, 580x650, 1301295765147.png [View same] [iqdb] [saucenao] [google]
7504305

>> No.7166029 [View]
File: 290 KB, 580x650, 64a14fdb2227b0d3a247c5e3bd103ace.png [View same] [iqdb] [saucenao] [google]
7166029

Cirno is my favorite Touhou.

>> No.6883136 [View]
File: 290 KB, 580x650, 64a14fdb2227b0d3a247c5e3bd103ace.png [View same] [iqdb] [saucenao] [google]
6883136

>many humans with mystical powers in fact are part-youkai in Japanese mythology
>Hakurei boundary powers are in fact thanks to youkai blood
>yfw when Yukari was the first Hakurei maiden

>> No.6758984 [View]
File: 290 KB, 580x650, 64a14fdb2227b0d3a247c5e3bd103ace.png [View same] [iqdb] [saucenao] [google]
6758984

>>6758966
Pooshlmer isn't shit.

>> No.6217687 [DELETED]  [View]
File: 290 KB, 580x650, 1285707866898.png [View same] [iqdb] [saucenao] [google]
6217687

Fucking japanese cartoons...

Why are they so stupid, yet so addictive at the same time??

>> No.6201455 [View]
File: 290 KB, 580x650, 1267873845012.png [View same] [iqdb] [saucenao] [google]
6201455

Cirno

Her house was smashed recently, and no matter how hard she tried, there was nothing she could do about it. Not even avenge it. ;_;

>> No.5952845 [View]
File: 290 KB, 580x650, 1281647796927.png [View same] [iqdb] [saucenao] [google]
5952845

>> No.5925511 [View]
File: 290 KB, 580x650, 1277819482946.png [View same] [iqdb] [saucenao] [google]
5925511

>>5925467
>>5925456
>70% of the threads on /jp/

Why are you still here? Stop fooling yourself

>> No.5814803 [View]
File: 290 KB, 580x650, 1262085603538.png [View same] [iqdb] [saucenao] [google]
5814803

>>5814777
>BAWW I'M A LITTLE BITCH

>> No.5518800 [View]
File: 290 KB, 580x650, 1269636994642.png [View same] [iqdb] [saucenao] [google]
5518800

Why would you want a five?

>> No.5509014 [View]
File: 290 KB, 580x650, 1269636994642.png [View same] [iqdb] [saucenao] [google]
5509014

I play it because I can.

>> No.4734572 [View]
File: 290 KB, 580x650, 1261371056195.png [View same] [iqdb] [saucenao] [google]
4734572

Good job fags, now I'm hungry.

>> No.4495335 [View]
File: 290 KB, 580x650, 1262085603538.png [View same] [iqdb] [saucenao] [google]
4495335

>>4495318
FUCK OFF SUGIIN

>> No.4376174 [View]
File: 290 KB, 580x650, cirno-popsickle.png [View same] [iqdb] [saucenao] [google]
4376174

>> No.4320882 [View]
File: 290 KB, 580x650, 1252150381936.png [View same] [iqdb] [saucenao] [google]
4320882

>> No.4284703 [View]
File: 290 KB, 580x650, 1252150381936.png [View same] [iqdb] [saucenao] [google]
4284703

Navigation
View posts[+24][+48][+96]