Skip to content

Instantly share code, notes, and snippets.

View Attosius's full-sized avatar

Attos Attosius

View GitHub Profile
@Attosius
Attosius / gist:fb70cf73b39c01102e3e53d211c5e2fe
Last active September 7, 2025 09:04
ДЗ: Подмассив повторений чисел
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var arraySize = 30;
int[] numbers = new int[arraySize];
@Attosius
Attosius / gist:3b3184b9bed4858b0b12a10a11abd062
Last active September 6, 2025 17:19
ДЗ: Динамический массив
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
const string CommandSum = "sum";
const string CommandExit = "exit";
@Attosius
Attosius / gist:0ae97c670d6893f8734f9ee452ca4a98
Created September 4, 2025 19:17
ДЗ: Локальные максимумы
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var arraySize = 30;
int[] array = new int[arraySize];
@Attosius
Attosius / gist:125f7de163485b89cb07df0cd3bbfacc
Created September 4, 2025 19:02
ДЗ: Локальные максимумы
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var arraySize = 30;
int[] array = new int[arraySize];
@Attosius
Attosius / gist:00cc15d03b34129d4c440ccba03430be
Last active September 4, 2025 18:44
ДЗ: Наибольший элемент
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var dimensionSize = 10;
int[,] matrix = new int[dimensionSize, dimensionSize];
@Attosius
Attosius / gist:f61ad2d0b2e8840f319741a8b2e81875
Last active September 3, 2025 19:55
ДЗ: Работа с конкретными строками/столбцами
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
int [,] array =
{
@Attosius
Attosius / gist:96f365c1933bfe8c071ef329c3efdb6e
Last active September 1, 2025 17:39
ДЗ: Бой с боссом
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
const string CommandUsualAttack = "1";
const string CommandFireBall = "2";
@Attosius
Attosius / gist:0a60e1fb50b1bd3508609cf5a035c054
Created August 31, 2025 16:31
ДЗ: Степень двойки
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var random = new Random();
var fromNumber = 29;
@Attosius
Attosius / gist:9dd9eafb67d77e73918bda6b3efac012
Created August 31, 2025 16:18
ДЗ: Кратные числа
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var nFrom = 10;
var nTo = 25;
@Attosius
Attosius / gist:bf3166fdc90fe2267320c2fee7d81a58
Created August 31, 2025 14:23
ДЗ: Программа под паролем
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var password = "111!!!111";
var secretMessage = "Hi!";