Skip to content

Instantly share code, notes, and snippets.

View hidden-pool's full-sized avatar
🎃
Фокусировка

hidden-pool

🎃
Фокусировка
View GitHub Profile
using System;
namespace Variables
{
internal class Program
{
const char Player = 'P';
const char Wall = '#';
const char Empty = ' ';
const char Treasure = '$';
using System;
namespace Variables
{
internal class Program
{
static void Main()
{
int healthPosition = 0;
int lengthBarHealth = 10;
using System;
namespace Variables
{
internal class Program
{
static void Main(string[] args)
{
string stringChars = "(()";
char openBracket = '(';
using System;
namespace Variables
{
internal class Program
{
static void Main(string[] args)
{
int[] numbers = new int[4] { 1, 2, 3, 4 };
bool isExit = false;
using System;
namespace Variables
{
internal class Program
{
static void Main(string[] args)
{
string text = "TSQL|/ PGAdmin,,, Oracal.. (VUETIFY)";
string[] words = text.Split();
using System;
namespace Variables
{
internal class Program
{
static void Main(string[] args)
{
int[] numbers = new int[33]
{
@hidden-pool
hidden-pool / gist:e70c762cbb1c4f865af556c17819da01
Last active May 13, 2025 15:56
Подмассив повторений чисел
namespace Variables
{
internal class Program
{
static void Main(string[] args)
{
int[] numbers = new int[30]
{
1, 1, 1, 5, 5, 5, 0, 0, 0, 10,
0, 0, 0, 5, 5, 5, 5, 0, 0, 10,
@hidden-pool
hidden-pool / gist:1a6c1d526f7d9817d48fcbf61c151abb
Last active May 11, 2025 17:48
Динамический массив
namespace Variables
{
internal class Program
{
static void Main(string[] args)
{
const string CommandSum = "sum";
const string CommandExit = "exit";
string commandUser;
@hidden-pool
hidden-pool / gist:60f4ea474b2bb1554505f4784a90126b
Last active February 18, 2025 16:43
Локальные максимумы
using System;
namespace Variables
{
internal class Program
{
static void Main(string[] args)
{
int[] numbers = new int[]
{
@hidden-pool
hidden-pool / gist:87163c5af7c89f962c7504f470fc1f33
Last active January 9, 2025 11:35
Наибольший элемент
using System;
namespace Variables
{
internal class Program
{
static void Main(string[] args)
{
int replacementNumber = 0;
int maxValue = int.MinValue;