Beispiel #1
0
        public static void DisplayContest(ContestDefinition contest, bool gym)
        {
            Console.WriteLine($"Id = {contest.Id} || Name = {contest.Name}");

            if (gym)
            {
                Console.WriteLine($"Link = https://codeforces.com/gym/{contest.Id}\n");
            }
            else
            {
                Console.WriteLine($"Link = https://codeforces.com/contest/{contest.Id}\n");
            }
        }
Beispiel #2
0
 public static void DisplayContest(ContestDefinition contest)
 {
     Console.WriteLine($"Id = {contest.Id} || Name = {contest.Name}");
 }