This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 2.Да се състави алгоритъм, който намира броя на седловите точки на даден двумерен масив. Седлова точка на двумерен масив е такъв елемент, който едновременно е минимален за стълба и максимален за реда, в който се намира или обратно. Освен това за да бъде точката седлова, то в съответния ред или стълб не трябва да има друг елемент със същия екстремум. */ | |
using System; | |
class Program | |
{ | |
static void Main() | |
{ | |
Console.Write("Rows: "); | |
int rows = int.Parse(Console.ReadLine()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
class Program | |
{ | |
private static bool[][] visited; | |
private static int maxSpecialValue; | |
private static int[][] ReadMatrix(int n) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copy Code Snippet Hereusing System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace case_3 | |
{ | |
class Program | |
{ |