Language: C++

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rummy
{
    class Program
    {
        /// <summary>
        /// ????????°????????¨?????????????????????
        /// </summary>
        /// <param name="args"></param>
        static void Main(string[] args)
        {
            //??????????????°??????
            int gameTotalCount = int.Parse(Console.ReadLine());

            //??????????????°?????°?????????(??????????????????????????????)
            for(int i = 0; i < gameTotalCount; i++)
            {
                //??????????????°?????????
                int[] inputNums = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray();

                //?????????????????????
                string[] inputColors = Console.ReadLine().Split(' ');

                //???????????????????????\??????????????£?¨?
                Card[] cards = new Card[inputNums.Length];

                //??????????????????????????°?????°?????????(?????????????????????1?????\??????????????????)
                for (int j = 0; j < inputNums.Length; j++)
                {
                    //??????????????????????????????????????????????????????????´?
                    cards[j] = new Card("R", 1);
                }

                //???????????????????????\??£?????????????????°??¨???????????????????????????????????????
                if (JudgeRummyGame(cards))
                {
                    //??????
                    Console.WriteLine(1);
                }
                else
                {
                    //??????
                    Console.WriteLine(0);
                }
            }
        }

        /// <summary>
        /// ??????????????????????????????????????¶????????????????????????????¢????
        /// </summary>
        /// <param name="cards"></param>
        /// <returns>??????????????????</returns>
        private static bool JudgeRummyGame(Card[] cards)
        {
            //???????????????????????????????????£????????????(????????????????????????)

            //??£?????????

            //?????°??????

            //???????????????
            return true;
        }
    }

    /// <summary>
    /// ??????????????????
    /// </summary>
    public class Card
    {
        private string _color = "";
        private int _num = 0;

        /// <summary>
        /// ?????????????????????
        /// </summary>
        /// <param name="color"></param>
        /// <param name="num"></param>
        public Card(string color, int num)
        {
            _color = color;
            _num = num;
        }

        /// <summary>
        /// ?????????????????????
        /// </summary>
        /// <returns>???(string)</returns>
        public string GetCardColor()
        {
            return _color;
        }

        /// <summary>
        /// ??????????????°?????????
        /// </summary>
        /// <returns>??°???(int)</returns>
        public int GetCardNum()
        {
            return _num;
        }
    }
}

Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Linq;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'System'
    4 | using System.Text;
      |       ^~~~~~
a.cc:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Threading.Tasks;
      |       ^~~~~~
a.cc:15:26: error: 'string' has not been declared
   15 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:15:35: error: expected ',' or '...' before 'args'
   15 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:58:16: error: expected ':' before 'static'
   58 |         private static bool JudgeRummyGame(Card[] cards)
      |                ^~~~~~~
      |                :
a.cc:58:44: error: 'Card' has not been declared
   58 |         private static bool JudgeRummyGame(Card[] cards)
      |                                            ^~~~
a.cc:58:51: error: expected ',' or '...' before 'cards'
   58 |         private static bool JudgeRummyGame(Card[] cards)
      |                                                   ^~~~~
a.cc:69:6: error: expected ';' after class definition
   69 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void Rummy::Program::Main(int*)':
a.cc:18:34: error: expected primary-expression before 'int'
   18 |             int gameTotalCount = int.Parse(Console.ReadLine());
      |                                  ^~~
a.cc:24:20: error: structured binding declaration cannot have type 'int'
   24 |                 int[] inputNums = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray();
      |                    ^~
a.cc:24:20: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
a.cc:24:20: error: empty structured binding declaration
a.cc:24:23: error: expected initializer before 'inputNums'
   24 |                 int[] inputNums = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray();
      |                       ^~~~~~~~~
a.cc:27:17: error: 'string' was not declared in this scope
   27 |                 string[] inputColors = Console.ReadLine().Split(' ');
      |                 ^~~~~~
a.cc:27:24: error: expected primary-expression before ']' token
   27 |                 string[] inputColors = Console.ReadLine().Split(' ');
      |                        ^
a.cc:30:17: error: 'Card' was not declared in this scope
   30 |                 Card[] cards = new Card[inputNums.Length];
      |                 ^~~~
a.cc:30:22: error: expected primary-expression before ']' token
   30 |                 Card[] cards = new Card[inputNums.Length];
      |                      ^
a.cc:33:37: error: 'inputNums' was not declared in this scope
   33 |                 for (int j = 0; j < inputNums.Length; j++)
      |                                     ^~~~~~~~~
a.cc:36:21: error: 'cards' was not declared in this scope
   36 |                     cards[j] = new Card("R", 1);
      |                     ^~~~~
a.cc:36:36: error: expected type-specifier before 'Card'
   36 |                     cards[j] = new Card("R", 1);
      |                                    ^~~~
a.cc:40:36: error: 'cards' was not declared in this scope
   40 |                 if (JudgeRummyGame(cards))
      |                                    ^~~~~
a.cc:43:21: error: 'Console' was not declared in this scope
   43 |                     Console.WriteLine(1);
      |                     ^~~~~~~
a.cc:48:21: error: 'Console' was not declared in this scope
   48 |                     Console.WriteLine(0);
      |                     ^~~~~~~
a.cc: At global scope:
a.cc:74:5: error: expected unqualified-id before 'public'
   74 |     public class Card
      |     ^~~~~~