Skip to content

Instantly share code, notes, and snippets.

View Senderman's full-sized avatar

Fyodor Doletov Senderman

View GitHub Profile
@Senderman
Senderman / main.cpp
Created November 26, 2018 20:42
Для Ани Рошу
#include <iostream>
#include <ctime>
using namespace std;
void inp(int **arr, int x, int y) {
srand(time(0));
for(int i = 0; i < x; i++){
for(int j = 0; j < y; j++) {
arr[i][j] = -100 + (rand() % 200);
@Senderman
Senderman / main.cpp
Created October 21, 2018 17:49
Для Ани
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main() {
srand(time(NULL));
int str, slb;
int kol=0;
int sr=0;