1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
|
#include <iostream>
#include <string>
#include <cstdlib>
#include <ctime>
using namespace std;
string randoms;
int main()
{
srand(time(0));
const string oneone[2] = { "1", "0" };
string oneones = oneone[rand() % 2];
const string onetwo[2] = { "1", "0" };
string onetwos = onetwo[rand() % 2];
const string onethree[2] = { "1", "0" };
string onethrees = onethree[rand() % 2];
const string onefour[2] = { "1", "0" };
string onefours = onefour[rand() % 2];
const string onefive[2] = { "1", "0" };
string onefives = onefive[rand() % 2];
const string twoone[2] = { "1", "0" };
string twoones = twoone[rand() % 2];
const string twotwo[2] = { "1", "0" };
string twotwos = twotwo[rand() % 2];
const string twothree[2] = { "1", "0" };
string twothrees = twothree[rand() % 2];
const string twofour[2] = { "1", "0" };
string twofours = twofour[rand() % 2];
const string twofive[2] = { "1", "0" };
string twofives = twofive[rand() % 2];
const string threeone[2] = { "1", "0" };
string threeones = threeone[rand() % 2];
const string threetwo[2] = { "1", "0" };
string threetwos = threetwo[rand() % 2];
const string threethree[2] = { "1", "0" };
string threethrees = threethree[rand() % 2];
const string threefour[2] = { "1", "0" };
string threefours = threefour[rand() % 2];
const string threefive[2] = { "1", "0" };
string threefives = threefive[rand() % 2];
const string fourone[2] = { "1", "0" };
string fourones = fourone[rand() % 2];
const string fourtwo[2] = { "1", "0" };
string fourtwos = fourtwo[rand() % 2];
const string fourthree[2] = { "1", "0" };
string fourthrees = fourthree[rand() % 2];
const string fourfour[2] = { "1", "0" };
string fourfours = fourfour[rand() % 2];
const string fourfive[2] = { "1", "0" };
string fourfives = fourfive[rand() % 2];
const string fiveone[2] = { "1", "0" };
string fiveones = fiveone[rand() % 2];
const string fivetwo[2] = { "1", "0" };
string fivetwos = fivetwo[rand() % 2];
const string fivethree[2] = { "1", "0" };
string fivethrees = fivethree[rand() % 2];
const string fivefour[2] = { "1", "0" };
string fivefours = fivefour[rand() % 2];
const string fivefive[2] = { "1", "0" };
string fivefives = fivefive[rand() % 2];
const string sixone[2] = { "1", "0" };
string sixones = sixone[rand() % 2];
const string sixtwo[2] = { "1", "0" };
string sixtwos = sixtwo[rand() % 2];
const string sixthree[2] = { "1", "0" };
string sixthrees = sixthree[rand() % 2];
const string sixfour[2] = { "1", "0" };
string sixfours = sixfour[rand() % 2];
const string sixfive[2] = { "1", "0" };
string sixfives = sixfive[rand() % 2];
const string sevenone[2] = { "1", "0" };
string sevenones = sevenone[rand() % 2];
const string seventwo[2] = { "1", "0" };
string seventwos = seventwo[rand() % 2];
const string seventhree[2] = { "1", "0" };
string seventhrees = seventhree[rand() % 2];
const string sevenfour[2] = { "1", "0" };
string sevenfours = sevenfour[rand() % 2];
const string sevenfive[2] = { "1", "0" };
string sevenfives = sevenfive[rand() % 2];
cout << oneones;
cout << onetwos;
cout << onethrees;
cout << onefours;
cout << onefives << endl;
cout << twoones;
cout << twotwos;
cout << twothrees;
cout << twofours;
cout << twofives << endl;
cout << threeones;
cout << threetwos;
cout << threethrees;
cout << threefours;
cout << threefives << endl;
cout << fourones;
cout << fourtwos;
cout << fourthrees;
cout << fourfours;
cout << fourfives << endl;
cout << fiveones;
cout << fivetwos;
cout << fivethrees;
cout << fivefours;
cout << fivefives << endl;
cout << sixones;
cout << sixtwos;
cout << sixthrees;
cout << sixfours;
cout << sixfives << endl;
cout << sevenones;
cout << seventwos;
cout << seventhrees;
cout << sevenfours;
cout << sevenfives << endl;
}
|