Language: C++

#include <bits/stdc++.h>
using namespace std;

int main{
  long long n, a, b, c, d, e;
  cin >> n >> a >> b >> c >> d >> e;
  
  long long minMove = min({a, b, c, d, e});
  long long ans = ((n+minMove-1)/minMove);
  
  cout << ans << endl;
}

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'long'
    5 |   long long n, a, b, c, d, e;
      |   ^~~~
a.cc:5:3: error: expected '}' before 'long'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> n >> a >> b >> c >> d >> e;
      |   ^~~
a.cc:8:28: error: 'a' was not declared in this scope
    8 |   long long minMove = min({a, b, c, d, e});
      |                            ^
a.cc:8:31: error: 'b' was not declared in this scope
    8 |   long long minMove = min({a, b, c, d, e});
      |                               ^
a.cc:8:34: error: 'c' was not declared in this scope
    8 |   long long minMove = min({a, b, c, d, e});
      |                                  ^
a.cc:8:37: error: 'd' was not declared in this scope
    8 |   long long minMove = min({a, b, c, d, e});
      |                                     ^
a.cc:8:40: error: 'e' was not declared in this scope
    8 |   long long minMove = min({a, b, c, d, e});
      |                                        ^
a.cc:8:26: error: no matching function for call to 'min(<brace-enclosed initializer list>)'
    8 |   long long minMove = min({a, b, c, d, e});
      |                       ~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:233:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::min(const _Tp&, const _Tp&)'
  233 |     min(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:233:5: note:   candidate expects 2 arguments, 1 provided
/usr/include/c++/14/bits/stl_algobase.h:281:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare)'
  281 |     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:281:5: note:   candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/14/algorithm:61:
/usr/include/c++/14/bits/stl_algo.h:5686:5: note: candidate: 'template<class _Tp> constexpr _Tp std::min(initializer_list<_Tp>)'
 5686 |     min(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5686:5: note:   template argument deduction/substitution failed:
/usr/include/c++/14/bits/stl_algo.h:5696:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::min(initializer_list<_Tp>, _Compare)'
 5696 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5696:5: note:   candidate expects 2 arguments, 1 provided
a.cc:9:21: error: 'n' was not declared in this scope; did you mean 'yn'?
    9 |   long long ans = ((n+minMove-1)/minMove);
      |                     ^
      |                     yn
a.cc:11:3: error: 'cout' does not name a type
   11 |   cout << ans << endl;
      |   ^~~~
a.cc:12:1: error: expected declaration before '}' token
   12 | }
      | ^