This file contains hidden or 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<iostream> | |
| #include<time.h> | |
| #include<math.h> | |
| using namespace std; | |
| struct tree{ | |
| int key; | |
| tree *left, *right; | |
| }; | |
| tree *root; | |
This file contains hidden or 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<iostream> | |
| #include<time.h> | |
| #include<math.h> | |
| using namespace std; | |
| struct tree{ | |
| int key; | |
| int vist_c; | |
| tree *left, *right; | |
| }; | |
| tree *root; |
This file contains hidden or 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<iostream> | |
| #include <time.h> | |
| using namespace std; | |
| struct tree{ | |
| int key; | |
| tree *left, *right; | |
| }; | |
| tree *root; | |
| class Binary_tree{ |
This file contains hidden or 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 <iostream> | |
| #include <time.h> | |
| using namespace std; | |
| struct list_el | |
| { | |
| int key; | |
| list_el *next; | |
| }; |
This file contains hidden or 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 <iostream> | |
| #include <time.h> | |
| using namespace std; | |
| struct list_el | |
| { | |
| int key; | |
| list_el *next; | |
| list_el *prev; |
This file contains hidden or 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 <iostream> | |
| #include <time.h> | |
| // Lista cykliczna | |
| using namespace std; | |
| struct list_el | |
| { | |
| int key; | |
| list_el *next; |
This file contains hidden or 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 <iostream> | |
| #include <time.h> | |
| using namespace std; | |
| struct element | |
| { | |
| int liczba; | |
| char znak; | |
| }; |
This file contains hidden or 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
| // | |
| // Projekt nr : 6 | |
| // gatunki plyt muzycznych | |
| //Przykład 18 + A2.h +A2.cpp | |
| #include <iostream> | |
| #include <string> | |
| #include <time.h> | |
| #include <fstream> |
This file contains hidden or 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 <pthread.h> | |
| #include <sys/errno.h> | |
| char * nazwa_pliku; | |
| char znak; | |
| int bloki, i, j, ilosc_znakow, ilosc_watkow, err, reszta; | |
| pthread_t * th; |
This file contains hidden or 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 <signal.h> | |
| #include <unistd.h> | |
| #include <stdio.h> | |
| #include <sys/time.h> | |
| #include <sys/types.h> | |
| #include <stdlib.h> | |
| int usr1_ile, usr2_ile; | |
| int i, j; |