#include "stdafx.h"
#include <vector>
#include <iostream>
#include <thread>
#include <atomic>
#include <array>
std::array<std::atomic<int>, 100> Kolumny{};
std::vector<std::vector<bool>> Mac;
std::vector<std::vector<bool>> draw(int);
int main()
{
int x;
std::cin >> x;
Mac = draw(x);
return 0;
}
std::vector<std::vector<bool>> draw(int x)
{
std::vector<std::vector<bool>> Mac(x, std::vector<bool>(x));
int i=0, j = 0;
while (i < x)
{
while (j < x - i)
{
if (i == j) Mac[i][j] = false;
else
{
if (rand() % 3)
{
Mac[i][j] = true;
Mac[j][i] = true;
}
else
{
Mac[i][j] = false;
Mac[j][i] = false;
}
}
j++;
}
i++; j = 0;
}
for(int i=0; i<x; i++)
{
for (int j = 0; j < x; j++)
{
if (Mac[i][j]) std::cout << "1 ";
else std::cout << "0 ";
}
std::cout << std::endl;
}
return Mac;
}
void ColCount(int x)
{
int i = 0, j = x;
while (i < Mac.size() - j)
{
if(Mac)
}
}
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}