Skip to content

Instantly share code, notes, and snippets.

View sguzunov's full-sized avatar

Stoyan Uzunov sguzunov

  • @interop.io
  • Sofia, Bulgaria
View GitHub Profile
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program
{
private static ulong ConvertFromBaseToDecimal(string word, uint numeralSystem)
{
ulong power = 1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program
{
private static ulong ConvertFromBaseToDecimal(string word, uint numeralSystem)
{
ulong power = 1;
/* 2.Да се състави алгоритъм, който намира броя на седловите точки на даден двумерен масив. Седлова точка на двумерен масив е такъв елемент, който едновременно е минимален за стълба и максимален за реда, в който се намира или обратно. Освен това за да бъде точката седлова, то в съответния ред или стълб не трябва да има друг елемент със същия екстремум. */
using System;
class Program
{
static void Main()
{
Console.Write("Rows: ");
int rows = int.Parse(Console.ReadLine());
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program
{
private const string ToggleTag = "toggle";
private const string UpperTag = "upper";
using System;
using System.Linq;
class Program
{
private static bool[][] visited;
private static int maxSpecialValue;
private static int[][] ReadMatrix(int n)
{
using System;
using System.Text;
class ReplaceTags
{
private const string Href = "href=\"";
private const string AnchorCloseTag = "</a>";
// <p>Please visit <a href="http://academy.telerik.com">our site</a> to choose a training course. Also visit <a href="www.devbg.org">our forum</a> to discuss the courses.</p>
// <p>Please visit [our site](http://academy.telerik.com) to choose a training course. Also visit [our forum](www.devbg.org) to discuss the courses.</p>
using System;
using System.Text;
class ReplaceTags
{
private const string Href = "href=\"";
private const string AnchorCloseTag = "</a>";
// <p>Please visit <a href="http://academy.telerik.com">our site</a> to choose a training course. Also visit <a href="www.devbg.org">our forum</a> to discuss the courses.</p>
// <p>Please visit [our site](http://academy.telerik.com) to choose a training course. Also visit [our forum](www.devbg.org) to discuss the courses.</p>
using System;
using System.Collections.Generic;
using System.Text;
class Program
{
private static ulong ConvertFromBaseToDecimalNumber(string message, uint numeralSystem)
{
ulong power = 1;
ulong decimalNumber = 0;
// Write a program that replaces in a HTML document given as string all the tags <a href="URL">TEXT</a> with corresponding markdown notation [TEXT](URL).
//using System;
//using System.Text;
//using System.Text.RegularExpressions;
//class ReplaceTags
//{
// private static Regex regex;
// Copy Code Snippet Hereusing System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace case_3
{
class Program
{