Language: C++

#include <iostream>
#include <iomanip>
#include <vector>
#include <string>
#include <algorithm>
#include <cmath>
#include <stack>
#include <queue>
#include <functional>
#include <limits.h>
#include <set>
#include <map>
#include <tuple>
using namespace std;#define ll long long
#define ull unsigned long long
#define rep(i,N) for (int i=0;i<N;i++)
#define loop(i,N,M) for(int i=N;i<M;i++)
#define MAX(v) *max_element(v.begin(),v.end())
#define MIN(v) *min_element(v.begin(),v.end())
#define SORTL2S(type,v) sort(v.begin(),v.end(),greater<type>())
#define SORTS2L(type,v) sort(v.begin(),v.end())
#define SORTMF(v,func) sort(v.begin(),v.end(),func)
ll N,A,B;vector<ll> vec;void solve(){cout<<min(A*N,B);return;}int main(){cin >> N >> A >> B;solve();cout<<endl;return 0;}

Compiler output:
a.cc:14:21: error: stray '#' in program
   14 | using namespace std;#define ll long long
      |                     ^
a.cc:14:22: error: 'define' does not name a type
   14 | using namespace std;#define ll long long
      |                      ^~~~~~
a.cc:23:17: error: 'll' was not declared in this scope; did you mean 'ull'?
   23 | ll N,A,B;vector<ll> vec;void solve(){cout<<min(A*N,B);return;}int main(){cin >> N >> A >> B;solve();cout<<endl;return 0;}
      |                 ^~
      |                 ull
a.cc:23:19: error: template argument 1 is invalid
   23 | ll N,A,B;vector<ll> vec;void solve(){cout<<min(A*N,B);return;}int main(){cin >> N >> A >> B;solve();cout<<endl;return 0;}
      |                   ^
a.cc:23:19: error: template argument 2 is invalid
a.cc: In function 'void solve()':
a.cc:23:48: error: 'A' was not declared in this scope
   23 | ll N,A,B;vector<ll> vec;void solve(){cout<<min(A*N,B);return;}int main(){cin >> N >> A >> B;solve();cout<<endl;return 0;}
      |                                                ^
a.cc:23:50: error: 'N' was not declared in this scope
   23 | ll N,A,B;vector<ll> vec;void solve(){cout<<min(A*N,B);return;}int main(){cin >> N >> A >> B;solve();cout<<endl;return 0;}
      |                                                  ^
a.cc:23:52: error: 'B' was not declared in this scope
   23 | ll N,A,B;vector<ll> vec;void solve(){cout<<min(A*N,B);return;}int main(){cin >> N >> A >> B;solve();cout<<endl;return 0;}
      |                                                    ^
a.cc: In function 'int main()':
a.cc:23:81: error: 'N' was not declared in this scope
   23 | ll N,A,B;vector<ll> vec;void solve(){cout<<min(A*N,B);return;}int main(){cin >> N >> A >> B;solve();cout<<endl;return 0;}
      |                                                                                 ^
a.cc:23:86: error: 'A' was not declared in this scope
   23 | ll N,A,B;vector<ll> vec;void solve(){cout<<min(A*N,B);return;}int main(){cin >> N >> A >> B;solve();cout<<endl;return 0;}
      |                                                                                      ^
a.cc:23:91: error: 'B' was not declared in this scope
   23 | ll N,A,B;vector<ll> vec;void solve(){cout<<min(A*N,B);return;}int main(){cin >> N >> A >> B;solve();cout<<endl;return 0;}
      |                                                                                           ^