Language: C++

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



class Program
{
    const int MOD = 1000000007;
    const int INF = 1 << 30;

    static void Main(string[] args)
    {
        Solve();
    }

    static long GCD(long x, long y)
    {
        if (x == 0) return y;
        if (y == 0) return x;
        return GCD(y, x % y);
    }


    static long LCM(long x, long y)
    {
        return x * y / GCD(x, y);
    }

    static void Solve()
    {
        Scaner sc = new Scaner();
        write wr = new write();

        var A = sc.IntArr;
        

        wr.wri(Math.Max(A[2]-A[0]+A[1],0));


    }
}





class Scaner
{
    public string Str => Console.ReadLine();

    public string[] StrArr => Str.Split(' ');

    public long[] LongArr => StrArr.Select(long.Parse).ToArray();
    public int[] IntArr => StrArr.Select(int.Parse).ToArray();
    public char[] CharArr => Str.ToArray();
    public long Long1 => LongArr[0];
    public int Int1 => IntArr[0];
    
}



class write
{
    public  void wri<T>(T x)
    {
        Console.WriteLine(x);
    }
}



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:14:22: error: 'string' has not been declared
   14 |     static void Main(string[] args)
      |                      ^~~~~~
a.cc:14:31: error: expected ',' or '...' before 'args'
   14 |     static void Main(string[] args)
      |                               ^~~~
a.cc:44:2: error: expected ';' after class definition
   44 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Program::Solve()':
a.cc:34:9: error: 'Scaner' was not declared in this scope
   34 |         Scaner sc = new Scaner();
      |         ^~~~~~
a.cc:35:9: error: 'write' was not declared in this scope
   35 |         write wr = new write();
      |         ^~~~~
a.cc:37:9: error: 'var' was not declared in this scope
   37 |         var A = sc.IntArr;
      |         ^~~
a.cc:40:9: error: 'wr' was not declared in this scope
   40 |         wr.wri(Math.Max(A[2]-A[0]+A[1],0));
      |         ^~
a.cc:40:16: error: 'Math' was not declared in this scope
   40 |         wr.wri(Math.Max(A[2]-A[0]+A[1],0));
      |                ^~~~
a.cc:40:25: error: 'A' was not declared in this scope
   40 |         wr.wri(Math.Max(A[2]-A[0]+A[1],0));
      |                         ^
a.cc: At global scope:
a.cc:52:11: error: expected ':' before 'string'
   52 |     public string Str => Console.ReadLine();
      |           ^~~~~~~
      |           :
a.cc:52:12: error: 'string' does not name a type
   52 |     public string Str => Console.ReadLine();
      |            ^~~~~~
a.cc:54:11: error: expected ':' before 'string'
   54 |     public string[] StrArr => Str.Split(' ');
      |           ^~~~~~~
      |           :
a.cc:54:12: error: 'string' does not name a type
   54 |     public string[] StrArr => Str.Split(' ');
      |            ^~~~~~
a.cc:56:11: error: expected ':' before 'long'
   56 |     public long[] LongArr => StrArr.Select(long.Parse).ToArray();
      |           ^~~~~
      |           :
a.cc:56:16: error: expected unqualified-id before '[' token
   56 |     public long[] LongArr => StrArr.Select(long.Parse).ToArray();
      |                ^
a.cc:57:11: error: expected ':' before 'int'
   57 |     public int[] IntArr => StrArr.Select(int.Parse).ToArray();
      |           ^~~~
      |           :
a.cc:57:15: error: expected unqualified-id before '[' token
   57 |     public int[] IntArr => StrArr.Select(int.Parse).ToArray();
      |               ^
a.cc:58:11: error: expected ':' before 'char'
   58 |     public char[] CharArr => Str.ToArray();
      |           ^~~~~
      |           :
a.cc:58:16: error: expected unqualified-id before '[' token
   58 |     public char[] CharArr => Str.ToArray();
      |                ^
a.cc:59:11: error: expected ':' before 'long'
   59 |     public long Long1 => LongArr[0];
      |           ^~~~~
      |           :
a.cc:60:11: error: expected ':' before 'int'
   60 |     public int Int1 => IntArr[0];
      |           ^~~~
      |           :
a.cc:62:2: error: expected ';' after class definition
   62 | }
      |  ^
      |  ;
a.cc:59:24: error: expected primary-expression before '>' token
   59 |     public long Long1 => LongArr[0];
      |                        ^
a.cc:59:26: error: 'LongArr' was not declared in this scope; did you mean 'Long1'?
   59 |     public long Long1 => LongArr[0];
      |                          ^~~~~~~
      |                          Long1
a.cc:60:22: error: expected primary-expression before '>' token
   60 |     public int Int1 => IntArr[0];
      |                      ^
a.cc:60:24: error: 'IntArr' was not declared in this scope
   60 |     public int Int1 => IntArr[0];
      |                        ^~~~~~
a.cc:68:11: error: expected ':' before 'void'
   68 |     public  void wri<T>(T x)
      |           ^ ~~~~
      |           :
a.cc:68:18: error: variable or field 'wri' declared void
   68 |     public  void wri<T>(T x)
      |                  ^~~
a.cc:68:18: error: expected ';' at end of member declaration
   68 |     public  void wri<T>(T x)
      |                  ^~~
      |                     ;
a.cc:68:21: error: expected unqualified-id before '<' token
   68 |     public  void wri<T>(T x)
      |                     ^
a.cc:72:2: error: expected ';' after class definition
   72 | }
      |  ^
      |  ;