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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using student; | |
namespace student | |
{ | |
interface IStudentsSort <Students> | |
{ |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace _8_задание | |
{ | |
enum nazvanie_classa { A, B, C, D, E, unknown }; | |
class CStudent |
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
0 0 0 | |
1 0 0 | |
1 0 1 |
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 <conio.h> | |
//Постройте дерево бинарного поиска и определите есть ли в нем узел с заданным значением a. | |
struct Ttree | |
{ | |
int inf; | |
Ttree *left; | |
Ttree *right; |
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<conio.h> | |
#include<stdlib.h> | |
// Создать список из целых чисел. Подсчитать сумму положительных элементов. Создать из них новый список. | |
struct tqueue // описание очереди | |
{ | |
int inf; | |
tqueue *next; | |
}; |
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<conio.h> | |
#include<stdlib.h> | |
// Создать список из целых чисел. Подсчитать сумму положительных элементов. Создать из них новый список. | |
struct tqueue // описание очереди | |
{ | |
int inf; | |
tqueue *next; | |
}; |
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<conio.h> | |
//инициализация очереди | |
void init_queue(tqueue *&h, tqueue *&t) | |
{h=t=NULL;} | |
//добавление элемента в очередь | |
void insert(tqueue *&h,tqueue *&t, int item) | |
{ |
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<conio.h> | |
//инициализация очереди | |
void init_queue(tqueue *&h, tqueue *&t) | |
{h=t=NULL;} | |
//добавление элемента в очередь | |
void insert(tqueue *&h,tqueue *&t, int item) | |
{ |
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<conio.h> | |
#include<stdlib.h> | |
#include<locale.h> | |
//Создать список из целых чисел. Подсчитать количество отрицательных элементов, создав из них новый список. | |
struct tqueue //структура очереди | |
{ | |
int inf; | |
tqueue *next; | |
}; |
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
2 | |
4 | |
5 | |
1 | |
6 |
NewerOlder