Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Disregard this thread

Name: Anonymous 2012-10-03 8:26

// PickMid.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream>
using namespace std;


int _tmain(int argc, _TCHAR* argv[])
{

    int dice[3][8000];
    int index = 0;

    int d0 = 1;
    int d1 = 1;
    int d2 = 1;

    // ROLL THE DICE

    while(index < 8000)
    {
        dice[0][index] = d0;
        dice[1][index] = d1;
        dice[2][index] = d2;

        if(d0 < 20)
        {
            d0++;
        }
        else
        {
            d0 = 1;

            if(d1 < 20)
            {
                d1++;
            }
            else
            {
                d1 = 1;
                d2++;
            }
        }

        index++;
    }

    // DO THE STATISTICS

    int results[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};

    index = 0;
    int temp = 0;
    int die[] = {0,0,0};

    while(index<8000)
    {
        die[0] = dice[0][index];
        die[1] = dice[1][index];
        die[2] = dice[2][index];

        //FIND MIDDLE VALUE

        if(die[0]>=die[1] && die[0] <= die[2])
        {
            temp = die[0];
        }
        else if(die[0]<= die[1] && die[0] >= die[2])
        {
            temp = die[0];
        }
        else if(die[1] >= die[0] && die[1] <= die[2])
        {
            temp = die[1];
        }
        else if(die[1] <= die[0] && die[1] >= die[2])
        {
            temp = die[1];
        }
        else
        {
            temp = die[2];
        }
       
        results[temp]++;
        index++;
    }

    cout << "Numbers rolled:\n";
    cout << "\nNr#01:" << results[1];
    cout << "\nNr#02:" << results[2];
    cout << "\nNr#03:" << results[3];
    cout << "\nNr#04:" << results[4];
    cout << "\nNr#05:" << results[5];
    cout << "\nNr#06:" << results[6];
    cout << "\nNr#07:" << results[7];
    cout << "\nNr#08:" << results[8];
    cout << "\nNr#09:" << results[9];
    cout << "\nNr#10:" << results[10];
    cout << "\nNr#11:" << results[11];
    cout << "\nNr#12:" << results[12];
    cout << "\nNr#13:" << results[13];
    cout << "\nNr#14:" << results[14];
    cout << "\nNr#15:" << results[15];
    cout << "\nNr#16:" << results[16];
    cout << "\nNr#17:" << results[17];
    cout << "\nNr#18:" << results[18];
    cout << "\nNr#19:" << results[19];
    cout << "\nNr#20:" << results[20];

    cout << "\nTotal:" << results[1]+results[2]+results[3]+results[4]+results[5]+
                            results[6]+results[7]+results[8]+results[9]+results[10]+
                            results[11]+results[12]+results[13]+results[14]+results[15]+
                            results[16]+results[17]+results[18]+results[19]+results[20] << "\n";
}

Name: Anonymous 2012-10-03 8:39

U MENA ROLL THE DICK

Name: Anonymous 2012-10-03 9:29

>>1
typedef int integer;
typedef bool boolean;
#define output cout


I fixed it. Now your code is Paxalcompatible.

Name: Anonymous 2012-10-03 10:30

>>3
I think this is the first time in the world someone has used an em dash when they should have used a hyphen.

Name: Anonymous 2012-10-03 11:55

>>3,4
I have witnessed history in the making

Name: Anonymous 2012-10-03 13:12

HAX—MY—ANUS

Name: Anonymous 2012-10-03 13:15

#include "stdafx.h"
Casual Studio user detected

Name: Anonymous 2012-10-03 13:16

That would be the fully licensed version, not so casual

Name: Anonymous 2012-10-03 13:17

>>8
IDEs are casual, especially ``Microsoft Corporation Visual Drag-n-Drop Programming Studio''.

Name: Anonymous 2012-10-03 13:29

>>9
Go back to 2ch.ru, ``faggot''.

Name: Anonymous 2012-10-03 13:31

>>10
But I'm not a goddamned Russian.

Name: Anonymous 2012-10-03 13:36

>>10
I'd like to go back there, do you know a way to reach it from outside of Russia?

Name: Anonymous 2012-10-03 13:46

>>12
russian proxy

Name: Anonymous 2012-10-03 13:49

>>13
That's how I got there in the first place. The russian anonymizers don't work any more, I'll try to find non-blacklisted proxies if you're telling me 2chan.ru is still online.

Name: Anonymous 2012-10-03 16:51

>>12
AFAIK 2ch.ru was closed, because they hosted a ton of child porn. I remember visiting /b/ there and every thread was a CP thread, while most discussions were pedo related.

Name: Anonymous 2012-10-03 16:53

>>15
wow.

Name: Anonymous 2012-10-03 16:59

>>15
Actually I'm looking for 0chan.ru/c/ the russian /prog/

Name: >>17 2012-10-03 17:34

Well it's back and no need for proxy. I'm stupid.

Name: Anonymous 2012-10-03 19:06

>>17
russian /prog/
It is not really Russian, because it's populated mostly by Jewish persons and the site owner is Jewish. AFAIK, real Russians visit only 2ch.so/pr/

there is also a big misconception that authors of http://en.wikipedia.org/wiki/RAR and http://en.wikipedia.org/wiki/IDA_Pro are Russian, because they are not.

For example, http://en.wikipedia.org/wiki/Ilfak_Guilfanov is clearly a hooked nosed kike.

Name: Anonymous 2012-10-03 19:13

>>19
Something did happen to 0chan.ru, there's only a few posts.

Name: Anonymous 2012-10-03 19:25

>>19
Meanwhile goyim don't even have wikipedia pages to their name. What a useless bunch.

Name: Anonymous 2012-10-03 19:54


Don't change these.
Name: Email:
Entire Thread Thread List