Language: C++

#include <iostream>
#include <string.h>
#include <vector>
#include <algorithm>
#include <cmath>
#include <map>
#include <functional>
#include <cassert>
#include <utility>
#include <stack>
#include <queue>
using namespace std;
#define min(a,b) ((a)<(b)?(a):(b))
#define max(a,b) ((a)>(b)?(a):(b))
#define REP(i,n) for(int i=0;i<n;i++)
#define FOR(i,n1,n2) for(int i=n1;i<n2;i++)
#define speed_up    ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
typedef pair<int,int> Pi;
typedef long long int ll;
const int INF=(1<<30)-1;
const ll INFl=9223372036854775807;
const int MAX=10000;
const ll MOD=1000000007;
int gcd(int a,int b){return b?gcd(b,a%b):a;}
int lcm(int a,int b){return a/gcd(a, b)*b;}


ll n,a,b,c,d,e;
ll ans;

ll min(ll a,ll b,ll c,ll d,ll e){
	ll t=min(a,b);
	ll s=min(c,d);
	ll t=min(t,s);
	ll t=min(t,e);
	return t;
}
int main(){
	cin>>n>>a>>b>>c>>d>>e;
	ll ans=min(a,b,c,d,e);
	ans=(n+1)/5+5;
	cout<<ans<<endl;
}

Compiler output:
a.cc:31:32: error: macro "min" passed 5 arguments, but takes just 2
   31 | ll min(ll a,ll b,ll c,ll d,ll e){
      |                                ^
a.cc:13:9: note: macro "min" defined here
   13 | #define min(a,b) ((a)<(b)?(a):(b))
      |         ^~~
a.cc:40:29: error: macro "min" passed 5 arguments, but takes just 2
   40 |         ll ans=min(a,b,c,d,e);
      |                             ^
a.cc:13:9: note: macro "min" defined here
   13 | #define min(a,b) ((a)<(b)?(a):(b))
      |         ^~~
a.cc:32:12: error: expected primary-expression before 't'
   32 |         ll t=min(a,b);
      |            ^
a.cc:32:12: error: expected '}' before 't'
a.cc:31:33: note: to match this '{'
   31 | ll min(ll a,ll b,ll c,ll d,ll e){
      |                                 ^
a.cc:35:12: error: redefinition of 'll t'
   35 |         ll t=min(t,e);
      |            ^
a.cc:34:12: note: 'll t' previously declared here
   34 |         ll t=min(t,s);
      |            ^
a.cc:36:9: error: expected unqualified-id before 'return'
   36 |         return t;
      |         ^~~~~~
a.cc:37:1: error: expected declaration before '}' token
   37 | }
      | ^
a.cc: In function 'int main()':
a.cc:40:16: error: reference to 'min' is ambiguous
   40 |         ll ans=min(a,b,c,d,e);
      |                ^~~
In file included from /usr/include/c++/14/algorithm:61,
                 from a.cc:4:
/usr/include/c++/14/bits/stl_algo.h:5696:5: note: candidates are: '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:5686:5: note:                 'template<class _Tp> constexpr _Tp std::min(initializer_list<_Tp>)'
 5686 |     min(initializer_list<_Tp> __l)
      |     ^~~
In file included from /usr/include/c++/14/string:51,
                 from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:281:5: note:                 '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:233:5: note:                 'template<class _Tp> constexpr const _Tp& std::min(const _Tp&, const _Tp&)'
  233 |     min(const _Tp& __a, const _Tp& __b)
      |     ^~~
a.cc:31:4: note:                 'll min'
   31 | ll min(ll a,ll b,ll c,ll d,ll e){
      |    ^~~