Language: C++

using System;
using System.Linq;
using System.Collections.Generic;
using static System.Console;
using System.Text;
using System.IO;
using static System.Math;
namespace AtCoder
{
    class Program
    {
        static public long[] Sarray() { return ReadLine().Split().Select(long.Parse).ToArray(); }
        static public List<long> Slist() { return ReadLine().Split().Select(long.Parse).ToList(); }

        static readonly long Mod = 1000000000 + 7;

        static void Main(string[] args)
        {
            //SetOut(new StreamWriter(OpenStandardOutput()) { AutoFlush = false });
            var AB = Sarray();
            long A = AB[0];
            long B = AB[1];
            long ans = (long)Math.Ceiling((double)(B - 1) / (A - 1));

            WriteLine(ans);
            //Out.Flush();
        }
    }
}

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.Linq;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'static'
    4 | using static System.Console;
      |       ^~~~~~
a.cc:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Text;
      |       ^~~~~~
a.cc:6:7: error: expected nested-name-specifier before 'System'
    6 | using System.IO;
      |       ^~~~~~
a.cc:7:7: error: expected nested-name-specifier before 'static'
    7 | using static System.Math;
      |       ^~~~~~
a.cc:12:16: error: expected unqualified-id before 'public'
   12 |         static public long[] Sarray() { return ReadLine().Split().Select(long.Parse).ToArray(); }
      |                ^~~~~~
a.cc:13:16: error: expected unqualified-id before 'public'
   13 |         static public List<long> Slist() { return ReadLine().Split().Select(long.Parse).ToList(); }
      |                ^~~~~~
a.cc:15:16: error: 'readonly' does not name a type
   15 |         static readonly long Mod = 1000000000 + 7;
      |                ^~~~~~~~
a.cc:17:26: error: 'string' has not been declared
   17 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:17:35: error: expected ',' or '...' before 'args'
   17 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:28:6: error: expected ';' after class definition
   28 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void AtCoder::Program::Main(int*)':
a.cc:20:13: error: 'var' was not declared in this scope
   20 |             var AB = Sarray();
      |             ^~~
a.cc:21:22: error: 'AB' was not declared in this scope; did you mean 'A'?
   21 |             long A = AB[0];
      |                      ^~
      |                      A
a.cc:23:30: error: 'Math' was not declared in this scope
   23 |             long ans = (long)Math.Ceiling((double)(B - 1) / (A - 1));
      |                              ^~~~
a.cc:25:13: error: 'WriteLine' was not declared in this scope
   25 |             WriteLine(ans);
      |             ^~~~~~~~~