Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0;i<n;i++)
signed main(){
	int long lomg n,a,b,c,d,e;
	cin>>n>>a>>b>>c>>d>>e; 
	int long long ans=0;
	int long long f=min([a,b,c,d,e]);
	int long long g=(n-1)/k;
	ans=g+5;
	cout<<ans<<endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:23: error: expected initializer before 'n'
    5 |         int long lomg n,a,b,c,d,e;
      |                       ^
a.cc:6:14: error: 'n' was not declared in this scope; did you mean 'yn'?
    6 |         cin>>n>>a>>b>>c>>d>>e;
      |              ^
      |              yn
a.cc:6:17: error: 'a' was not declared in this scope
    6 |         cin>>n>>a>>b>>c>>d>>e;
      |                 ^
a.cc:6:20: error: 'b' was not declared in this scope
    6 |         cin>>n>>a>>b>>c>>d>>e;
      |                    ^
a.cc:6:23: error: 'c' was not declared in this scope
    6 |         cin>>n>>a>>b>>c>>d>>e;
      |                       ^
a.cc:6:26: error: 'd' was not declared in this scope
    6 |         cin>>n>>a>>b>>c>>d>>e;
      |                          ^
a.cc:6:29: error: 'e' was not declared in this scope
    6 |         cin>>n>>a>>b>>c>>d>>e;
      |                             ^
a.cc: In lambda function:
a.cc:8:40: error: expected '{' before ')' token
    8 |         int long long f=min([a,b,c,d,e]);
      |                                        ^
a.cc: In function 'int main()':
a.cc:8:28: error: no matching function for call to 'min(main()::<lambda()>)'
    8 |         int long long f=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:
a.cc:8:28: note:   'main()::<lambda()>' is not derived from 'std::initializer_list<_Tp>'
    8 |         int long long f=min([a,b,c,d,e]);
      |                         ~~~^~~~~~~~~~~~~
/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:31: error: 'k' was not declared in this scope
    9 |         int long long g=(n-1)/k;
      |                               ^