This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SFML/Graphics.hpp> | |
using namespace sf; | |
int main() | |
{ | |
sf::RenderWindow okno( sf::VideoMode( 720, 720 ), "Zbior Julii" ); | |
sf::RectangleShape P( sf::Vector2f( 1, 1 ) ); | |
int n=1500, m=25; | |
double a=-0.1, b=0.65 ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
━32 | |
┣━20 | |
┃ ┣━14 | |
┃ ┃ ┣━11 | |
┃ ┃ ┃ ┣━9 | |
┃ ┃ ┃ ┃ ┣━7 | |
┃ ┃ ┃ ┃ ┃ ┣━6 | |
┃ ┃ ┃ ┃ ┃ ┃ ┣━5 | |
┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣━4 | |
┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣━3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
━32 | |
┣━17 | |
┃ ┣━11 | |
┃ ┃ ┣━8 | |
┃ ┃ ┃ ┣━6 | |
┃ ┃ ┃ ┃ ┣━5 | |
┃ ┃ ┃ ┃ ┃ ┣━4 | |
┃ ┃ ┃ ┃ ┃ ┃ ┣━3 | |
┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣━2 | |
┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣━ <g1 red> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gem g=generate_gemset(vector<Gem>{Gem(0, 1, 0), Gem(0, 0, 1)}, 8, better_managem, limit_managem); //code | |
simulator.cpp:135:98: error: invalid initialization of non-const reference of type ‘std::vector<Gem>&’ from an rvalue of type ‘std::vector<Gem>’ | |
Gem g=generate_gemset(vector<Gem>{Gem(0, 1, 0), Gem(0, 0, 1)}, 8, better_managem, limit_managem); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <vector> | |
#include <algorithm> | |
#include <string> | |
#include <iostream> | |
using namespace std; | |
class Gem; | |
typedef pair<const Gem*, const Gem*> gem_pair; | |
class Gem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
━32 | |
┣━10 | |
┃ ┣━4 | |
┃ ┃ ┣━2 | |
┃ ┃ ┃ ┣━ <g1 orange> | |
┃ ┃ ┃ ┗━ <g1 orange> | |
┃ ┃ ┗━2 | |
┃ ┃ ┣━ <g1 orange> | |
┃ ┃ ┗━ <g1 orange> | |
┃ ┗━6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
━128 | |
┣━42 | |
┃ ┣━17 | |
┃ ┃ ┣━8 | |
┃ ┃ ┃ ┣━4 | |
┃ ┃ ┃ ┃ ┣━2 | |
┃ ┃ ┃ ┃ ┃ ┣━ <g1 orange> | |
┃ ┃ ┃ ┃ ┃ ┗━ <g1 orange> | |
┃ ┃ ┃ ┃ ┗━2 | |
┃ ┃ ┃ ┃ ┣━ <g1 orange> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
━64 | |
┣━38 | |
┃ ┣━26 | |
┃ ┃ ┣━20 | |
┃ ┃ ┃ ┣━14 | |
┃ ┃ ┃ ┃ ┣━11 | |
┃ ┃ ┃ ┃ ┃ ┣━8 | |
┃ ┃ ┃ ┃ ┃ ┃ ┣━7 | |
┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣━6 | |
┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣━5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
from tester import Tester | |
tester=Tester("kodzadania") | |
tester.run_testing() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#define N 1007 | |
int tab[N][N]; | |
int queue[N*N]; | |
int queue_c=0; | |
int n; |