Language: C++

#! /usr/bin/python3
# 3人でカードゲームイージー / Card Game for Three (ABC Edit)
"""
    1≤|SA|≤100
    1≤|SB|≤100
    1≤|SC|≤100
    SA、SB、SC に含まれる文字はそれぞれ a、b、c のいずれか
"""
import sys
test_mode = False

S_A = list(str(input()))
S_B = list(str(input()))
S_C = list(str(input()))

def turn(player):
    """
    プレイヤー player のターンを消化する関数
    """
    if player == 'a':   # Aのターン
        card = S_A[0]
        del S_A[0]
        if test_mode:
            print('Aのターン :', card)
        if S_A == []:
            print('あがり', sys.stderr)
            return 'A'
        turn(card)

    if player == 'b':   # Bのターン
        card = S_B[0]
        del S_B[0]
        if test_mode:
            print('Bのターン :', card)
        if S_B == []:
            print('あがり', sys.stderr)
            return 'B'
        turn(card)

    if player == 'c':   # Cのターン
        card = S_C[0]
        del S_C[0]
        if test_mode:
            print('Cのターン :', card)
        if S_C == []:
            print('あがり', sys.stderr)
            return 'C'
        turn(card)


def main():
    """
    ゲームの結果を出力
    """
    print(turn('a'))

if __name__ == '__main__':
    main()


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #!
    1 | #! /usr/bin/python3
      |  ^
a.cc:2:3: error: "3人でカードゲームイージー" after # is not a positive integer
    2 | # 3人でカードゲームイージー / Card Game for Three (ABC Edit)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:3:3: warning: missing terminating " character
    3 | """
      |   ^
a.cc:3:3: error: missing terminating " character
a.cc:4:5: error: extended character ≤ is not valid in an identifier
    4 |     1≤|SA|≤100
      |     ^
a.cc:4:11: error: extended character ≤ is not valid in an identifier
    4 |     1≤|SA|≤100
      |           ^
a.cc:5:5: error: extended character ≤ is not valid in an identifier
    5 |     1≤|SB|≤100
      |     ^
a.cc:5:11: error: extended character ≤ is not valid in an identifier
    5 |     1≤|SB|≤100
      |           ^
a.cc:6:5: error: extended character ≤ is not valid in an identifier
    6 |     1≤|SC|≤100
      |     ^
a.cc:6:11: error: extended character ≤ is not valid in an identifier
    6 |     1≤|SC|≤100
      |           ^
a.cc:7:5: error: extended character 、 is not valid in an identifier
    7 |     SA、SB、SC に含まれる文字はそれぞれ a、b、c のいずれか
      |     ^
a.cc:7:5: error: extended character 、 is not valid in an identifier
a.cc:7:41: error: extended character 、 is not valid in an identifier
    7 |     SA、SB、SC に含まれる文字はそれぞれ a、b、c のいずれか
      |                                         ^
a.cc:7:41: error: extended character 、 is not valid in an identifier
a.cc:8:3: warning: missing terminating " character
    8 | """
      |   ^
a.cc:8:3: error: missing terminating " character
a.cc:17:7: warning: missing terminating " character
   17 |     """
      |       ^
a.cc:17:7: error: missing terminating " character
a.cc:19:7: warning: missing terminating " character
   19 |     """
      |       ^
a.cc:19:7: error: missing terminating " character
a.cc:20:25: error: stray '#' in program
   20 |     if player == 'a':   # Aのターン
      |                         ^
a.cc:24:19: warning: multi-character literal with 15 characters exceeds 'int' size of 4 bytes
   24 |             print('Aのターン :', card)
      |                   ^~~~~~~~~~~~~
a.cc:26:19: warning: multi-character literal with 9 characters exceeds 'int' size of 4 bytes
   26 |             print('あがり', sys.stderr)
      |                   ^~~~~~~~
a.cc:30:25: error: stray '#' in program
   30 |     if player == 'b':   # Bのターン
      |                         ^
a.cc:34:19: warning: multi-character literal with 15 characters exceeds 'int' size of 4 bytes
   34 |             print('Bのターン :', card)
      |                   ^~~~~~~~~~~~~
a.cc:36:19: warning: multi-character literal with 9 characters exceeds 'int' size of 4 bytes
   36 |             print('あがり', sys.stderr)
      |                   ^~~~~~~~
a.cc:40:25: error: stray '#' in program
   40 |     if player == 'c':   # Cのターン
      |                         ^
a.cc:44:19: warning: multi-character literal with 15 characters exceeds 'int' size of 4 bytes
   44 |             print('Cのターン :', card)
      |                   ^~~~~~~~~~~~~
a.cc:46:19: warning: multi-character literal with 9 characters exceeds 'int' size of 4 bytes
   46 |             print('あがり', sys.stderr)
      |                   ^~~~~~~~
a.cc:52:7: warning: missing terminating " character
   52 |     """
      |       ^
a.cc:52:7: error: missing terminating " character
a.cc:54:7: warning: missing terminating " character
   54 |     """
      |       ^
a.cc:54:7: error: missing terminating " character
a.cc:57:16: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   57 | if __name__ == '__main__':
      |                ^~~~~~~~~~
a.cc:3:1: error: expected unqualified-id before string constant
    3 | """
      | ^~