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 NineDigitMagicNumbers | |
{ | |
static void Main() | |
{ | |
int sum = int.Parse(Console.ReadLine()); | |
int diff = int.Parse(Console.ReadLine()); | |
int abc = 0; | |
int def = 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; | |
using System.Numerics; | |
using System.Text; | |
using System.Threading.Tasks; | |
class ChangeEvenBits | |
{ | |
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.Collections.Generic; | |
using System.Linq; | |
class NakovMatching | |
{ | |
static void Main() | |
{ | |
string word1 = Console.ReadLine(); | |
string word2 = 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 TheExplorer | |
{ | |
static void Main() | |
{ | |
int n = int.Parse(Console.ReadLine()); | |
int outerDashes = 0; | |
int innerDashes = 1; | |
int lowerOuterDashes = 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; | |
class Joro | |
{ | |
static void Main() | |
{ | |
string leapYear = Console.ReadLine(); | |
double holidays = double.Parse(Console.ReadLine()); | |
double homeWeekends = double.Parse(Console.ReadLine()); | |
double normalWeekends = 52 - homeWeekends; |
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; | |
public class MelonsAndWatermelons | |
{ | |
private static void Main() | |
{ | |
int startDayOfWeek = int.Parse(Console.ReadLine()); | |
int daysEating = int.Parse(Console.ReadLine()); | |
int melons = 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; | |
class MelonsWatermelons | |
{ | |
static void Main() | |
{ | |
int start = int.Parse(Console.ReadLine()); | |
int days = int.Parse(Console.ReadLine()); | |
int melons = 0; | |
int waterMelons = 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; | |
class Volleyball | |
{ | |
static void Main() | |
{ | |
string year = Console.ReadLine(); | |
double p = double.Parse(Console.ReadLine()); | |
double h = double.Parse(Console.ReadLine()); | |
double totalPlays = h; |
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.Numerics; | |
class Tribonacci | |
{ | |
static void Main() | |
{ | |
BigInteger tribo1 = BigInteger.Parse(Console.ReadLine()); | |
BigInteger tribo2 = BigInteger.Parse(Console.ReadLine()); | |
BigInteger tribo3 = BigInteger.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; | |
using System.Text; | |
using System.Threading.Tasks; | |
class ChangeEvenBits | |
{ | |
static void Main() |
OlderNewer