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) | |
{ | |
string[] input = Console.ReadLine().Split(' '); | |
int rowInput = int.Parse(input[0]); | |
int colInput = int.Parse(input[1]); | |
char[,] matrix = new char[rowInput, colInput]; | |
string inpuLine; |
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 GameOfBits | |
{ | |
static void Main(string[] args) | |
{ | |
uint number = uint.Parse(Console.ReadLine()); | |
//Console.WriteLine(Convert.ToString(number, 2).PadLeft(32, '0')); | |
string command; | |
uint count1 = 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
class BiggestTriple | |
{ | |
static void Main() | |
{ | |
int[] numbers = Array.ConvertAll(Console.ReadLine().Split(' '), s => int.Parse(s)); | |
int size = 3; |
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 Tetris | |
{ | |
static void Main(string[] args) | |
{ | |
string[] input = Console.ReadLine().Split(' '); | |
int rowInput = int.Parse(input[0]); | |
int colInput = int.Parse(input[1]); | |
char[,] matrix = new char[rowInput, colInput]; |
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 CompaundInterest | |
{ | |
static void Main(string[] args) | |
{ | |
decimal p = decimal.Parse(Console.ReadLine()); | |
int n = int.Parse(Console.ReadLine()); | |
decimal i = decimal.Parse(Console.ReadLine()); | |
decimal f = decimal.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.Numerics; | |
class PetersGame | |
{ | |
static void Main(string[] args) | |
{ | |
ulong start = ulong.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; | |
class Sunlight | |
{ | |
static void Main(string[] args) | |
{ | |
int n = int.Parse(Console.ReadLine()); | |
int width=n*3; | |
Console.WriteLine("{0}*{0}", new string('.', width/2 )); | |
for (int i = 0; i < n-1; i++) |
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; | |
class EncryptTheMessages | |
{ | |
static void Main(string[] args) | |
{ | |
string inputLine; | |
int countMessage = 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
using System; | |
using System.Linq; | |
class GameOfLive | |
{ | |
static void Main(string[] args) | |
{ | |
int[] matrix = new int[10]; | |
int[] finalMatrix = new int[10]; | |
int n = 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; | |
class BitsAtCrossroads | |
{ | |
static void Main(string[] args) | |
{ | |
int n = int.Parse(Console.ReadLine()); | |
long[] matrix = new long[n]; | |
string inputLine; | |
int countCross = 0; |
OlderNewer