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; | |
namespace Problem_2___Beer_Stock | |
{ | |
class BeerStock | |
{ | |
static void Main(string[] args) | |
{ | |
long reservedBeers = long.Parse(Console.ReadLine()); | |
long beers = 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; | |
namespace _18_Equal_Pairs | |
{ | |
class EqualPairs | |
{ | |
static void Main(string[] args) | |
{ | |
int length = int.Parse(Console.ReadLine());; | |
int sum = 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; | |
namespace Task_01_Send_Greeting | |
{ | |
public class SendGreeting | |
{ | |
public static void Main(string[] args) | |
{ | |
Console.Write("Enter a name: "); | |
string name = 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; | |
namespace _01.Beers | |
{ | |
class Beers | |
{ | |
static void Main(string[] args) | |
{ | |
int numberOfStacks = 0; | |
int numberOfBotles = 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.Threading; | |
using System.Globalization; | |
namespace _02.Fun_with_Matrices | |
{ | |
class FunWithMatrices | |
{ | |
static void Main(string[] args) | |
{ |
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; | |
namespace _03.Byte_Party | |
{ | |
class ByteParty | |
{ | |
static void Main(string[] args) | |
{ | |
int length = int.Parse(Console.ReadLine()); | |
int[] table = GetSequence(length); |
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; | |
namespace _04.Tetris | |
{ | |
class Tetris | |
{ | |
static void Main(string[] args) | |
{ | |
string[] size = Console.ReadLine().Split(' '); | |
int rows = int.Parse(size[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; | |
namespace Problem_1___Piggy_Bank | |
{ | |
class PiggyBank | |
{ | |
static void Main(string[] args) | |
{ | |
int tankPrice = int.Parse(Console.ReadLine()); | |
int partiesPerMonth = 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; | |
namespace Problem_2___Cheat_Sheet | |
{ | |
class CheatSheet | |
{ | |
static void Main(string[] args) | |
{ | |
int rows = int.Parse(Console.ReadLine()); | |
int cols = 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; | |
namespace Problem_3___Boat | |
{ | |
class Boat | |
{ | |
static void Main(string[] args) | |
{ | |
int size = int.Parse(Console.ReadLine()); | |
int dots = size - 1; |
OlderNewer