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; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int annualFee = int.Parse(Console.ReadLine()); | |
double priceOfSneakers = annualFee * 0.6; | |
double priceOfClothes = priceOfSneakers * 0.8; |
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; | |
public class XRemoval | |
{ | |
public static void Main() | |
{ | |
List<string> matrix = new List<string>(); | |
List<bool[]> symbolsToRemove = new List<bool[]>(); |
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; | |
using System.Text.RegularExpressions; | |
public class UseYourChainsBuddy | |
{ | |
public static void Main() | |
{ | |
const int characterOffset = 'n' - 'a'; | |
string input = 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.Linq; | |
using System.Security; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
public class UppercaseWords | |
{ | |
public static void Main() | |
{ |
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; | |
using System.Text.RegularExpressions; | |
public class TheNumbers | |
{ | |
public static void Main() | |
{ | |
var numbers = Regex.Split(Console.ReadLine(), @"[^0-9]+") | |
.Where(x => x != string.Empty) |