Skip to content

Instantly share code, notes, and snippets.

View Nikola-Andreev's full-sized avatar

Nikola Andreev Nikola-Andreev

  • Sofia, Bulgaria
View GitHub Profile
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
using System.Globalization;
namespace Praktice
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
using System.Globalization;
using System.Text.RegularExpressions;
namespace Praktice
string firstName = Console.ReadLine();
string lastName = Console.ReadLine();
byte age = byte.Parse (Console.ReadLine());
char gender = char.Parse (Console.ReadLine());
long personalId=long.Parse (Console.ReadLine());
int number = int.Parse(Console.ReadLine());
Console.WriteLine("First name: {0}",firstName);
Console.WriteLine("Last name: {0}",lastName);
Console.WriteLine("Age: {0}",age);
Console.WriteLine("Gender: f",gender);
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
using System.Globalization;
using System.Text.RegularExpressions;
namespace Praktice
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
using System.Globalization;
using System.Text.RegularExpressions;
namespace Praktice
@Nikola-Andreev
Nikola-Andreev / gist:90a10613cedeea5268a1fe1782bdea57
Created May 30, 2016 09:03
6. Max Sequence of Equal Elements
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
using System.Globalization;
using System.Text.RegularExpressions;
namespace Praktice
List<int> input = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
char[,] matrix = new char[input[0], input[1]];
char a = 'a';
char b = 'a';
for (int rows = 0; rows < input[0]; rows++)
{
for (int cols = 0; cols < input[1]; cols++)
{
Console.Write(a);
Console.Write(b);
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
using System.Globalization;
using System.Text.RegularExpressions;
namespace Praktice
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
using System.Globalization;
using System.Text.RegularExpressions;
namespace Praktice
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
using System.Globalization;
using System.Text.RegularExpressions;
using System.Threading;