criyle/codenet-compile-errors huggingface dataset:
Language: C++

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

int main(){
  int N , A , B , ;
  cin >> N >> A >> B ;
  
  
  if (N * A > B){
    cout << A * T << endl;
  }
  else {
    cout << B << endl;
  }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:19: error: expected unqualified-id before ';' token
    5 |   int N , A , B , ;
      |                   ^
a.cc:10:17: error: 'T' was not declared in this scope
   10 |     cout << A * T << endl;
      |                 ^
Language: C++

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

int main() {
  int N, A, B;
  cin >> N >> A >> B;

  if (N * A > B) {
    cout << N * A << endl;
  }
  else {
    cout << B << endl;
  // ここにプログラムを追記
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:2: error: expected '}' at end of input
   14 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

int main() {
  int A,B,N;
  cin >> A >> B >> N;

  if (N*A < B ) {
    cout << N*A"円" << endl;
  }
  else if (N*A > B ) {
    cout << B"円" << endl;
  }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: expected ';' before string constant
    9 |     cout << N*A"円" << endl;
      |                ^~~~
      |                ;
a.cc:12:14: error: expected ';' before string constant
   12 |     cout << B"円" << endl;
      |              ^~~~
      |              ;
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int n, a, b, x;
  cin >> n >> a>> b;
  
  x = n * a
  
  if(x <=  b){
    cout << x << endl;
  }
  else{
    cout << b << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: expected ';' before 'if'
    8 |   x = n * a
      |            ^
      |            ;
    9 | 
   10 |   if(x <=  b){
      |   ~~        
a.cc:13:3: error: 'else' without a previous 'if'
   13 |   else{
      |   ^~~~
Language: C++

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

int main() {
  int N, A, B;
  cin >> N >> A >> B;
  
  if (N * T > B) {
    cout << B << endl;
  }
  
  if (B > N * T) {
    cout << N * T << endl;
  }
  
  else {
    cout << B << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: 'T' was not declared in this scope
    8 |   if (N * T > B) {
      |           ^
a.cc:12:15: error: 'T' was not declared in this scope
   12 |   if (B > N * T) {
      |               ^
Language: C++

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

int main() {
  int N, A, B;
  cin >> N >> A >> B;
  
  if (N * T > B) {
    cout << B << endl;
  }
  
  if (B > N * T) {
    cout << N * T << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: 'T' was not declared in this scope
    8 |   if (N * T > B) {
      |           ^
a.cc:12:15: error: 'T' was not declared in this scope
   12 |   if (B > N * T) {
      |               ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  int N, a, b:
  int hourPrice, FixPrice;
  cin >> N >> a >> b;
  hourPrice = N * a;
  FixPrice = b;
  cout << max(hourPrice, FixPrice) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:14: error: expected initializer before ':' token
    5 |   int N, a, b:
      |              ^
a.cc:7:20: error: 'b' was not declared in this scope
    7 |   cin >> N >> a >> b;
      |                    ^
a.cc:8:3: error: 'hourPrice' was not declared in this scope
    8 |   hourPrice = N * a;
      |   ^~~~~~~~~
a.cc:9:3: error: 'FixPrice' was not declared in this scope
    9 |   FixPrice = b;
      |   ^~~~~~~~
Language: C++

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

int main() {
  int N, A, B, X;
    cin >> N >> A >> B;
  X = N * A;
    if (X > B || X == B ) {
      cout << B endl;
    }
    if (X < B) {
      cout << X endl;
    }  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: expected ';' before 'endl'
    9 |       cout << B endl;
      |                ^~~~~
      |                ;
a.cc:12:16: error: expected ';' before 'endl'
   12 |       cout << X endl;
      |                ^~~~~
      |                ;
Language: C++

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

int main() {
  int N, A, B, X;
    cin >> N >> A >> B;
  X = N * A;
    if (X > B || X = B ) {
      cout << B endl;
    }
    if (X < B) {
      cout << X endl;
    }  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: lvalue required as left operand of assignment
    8 |     if (X > B || X = B ) {
      |         ~~~~~~^~~~
a.cc:9:16: error: expected ';' before 'endl'
    9 |       cout << B endl;
      |                ^~~~~
      |                ;
a.cc:12:16: error: expected ';' before 'endl'
   12 |       cout << X endl;
      |                ^~~~~
      |                ;
Language: C++

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

int main() {
  int N, A, B, X;
    cin >> N >> A >> B;
  X = N * A
    if (X > B || X = B ) {
      cout << B endl;
    }
    if (X < B) {
      cout << X endl;
    }  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: expected ';' before 'if'
    7 |   X = N * A
      |            ^
      |            ;
    8 |     if (X > B || X = B ) {
      |     ~~      
a.cc:12:16: error: expected ';' before 'endl'
   12 |       cout << X endl;
      |                ^~~~~
      |                ;
Language: C++

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

int main() {
  int N, A, B, X
    cin >> N >> A >> B;
  X = N * A
    if (X > B || X = B ) {
      cout << B endl;
    }
    if (X < B) {
      cout << X endl;
    }  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: expected initializer before 'cin'
    6 |     cin >> N >> A >> B;
      |     ^~~
a.cc:7:3: error: 'X' was not declared in this scope
    7 |   X = N * A
      |   ^
Language: C++

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

int main(){
  int N,A,B;
  cin >> N >> A >> B;
  if (N * A < B){
    cout << N * A << endl;
  }
  else if (N * A == B){
    cout << B << endl;
  }
  else {
    cout << B << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:2: error: expected '}' at end of input
   15 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

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

int main() {
  int n,a,b;
  cin n >> a >> b;
  if (n * a <= b) {
    cout << n * a << endl;
  }
  else {
    cout << b << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected ';' before 'n'
    6 |   cin n >> a >> b;
      |      ^~
      |      ;
Language: C++

#include<iostream>
using namespace std;
int main(void){
  
  int n, a, b;
  
  cin n >> a >> b;
  
  if(n*a < b){
    cout << n*a << endl;
  }else{
    cout << b << endl;
  }
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:6: error: expected ';' before 'n'
    7 |   cin n >> a >> b;
      |      ^~
      |      ;
Language: C++

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

int main() {
    int n, a, b;cin>>n>>a>>b;
    int aa=n*a
    cout<<min(aa, b)<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: expected ',' or ';' before 'cout'
    7 |     cout<<min(aa, b)<<endl;
      |     ^~~~
Language: C++

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

int main() {
    int n, a, b;cin>>n>>a>>b;
    int aa=n*a
    cout<<max(aa, b)<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: expected ',' or ';' before 'cout'
    7 |     cout<<max(aa, b)<<endl;
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
#define rep(i,a,n)  for (int i=(int)(a); i<=(int)(n); ++i)
#define rrep(i,a,n) for (int i=(int)(a); i>=(int)(n); --i)
#define debug(x) cerr << #x << " = " << x << "\n"
#define debugv(x) rep(f, 0, (x.size()-1)) cerr << x[f] << (f == (x.size() - 1) ? "\n" : " ")
#define all(x) x.begin(),x.end()
#define int long long
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
const int INF = ((1LL << 30) + (1LL << 29));
const int MOD = 1000000007;

//=============================
int A,B;
int N,M,K,X,Y;
//=============================
void input()
{
    cin>>N>>A>>B;
}
//=============================
void func(){}
/*
 - 樹形図をかく
*/
//=============================
void solve()
{
    cout<<min(A*T , B)<<endl;

}
//=============================
signed main()
{
    input();
    solve();
    return 0;
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:30:17: error: 'T' was not declared in this scope
   30 |     cout<<min(A*T , B)<<endl;
      |                 ^
Language: C++

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

int main() {
  int N, A, B;
  cin >> N >> A >> B;
  
  if ((A * N) <= B) {
    cout << A * T << endl;
  }
  else {
    cout << B << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: 'T' was not declared in this scope
    9 |     cout << A * T << endl;
      |                 ^
Language: C++

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

int main() {
  int N, A, B;
  cin >> N >> A >> B;
  
  if ((A * T) <= B) {
    cout << A * T << endl;
  }
  else {
    cout << B << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: 'T' was not declared in this scope
    8 |   if ((A * T) <= B) {
      |            ^
Language: C++

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

int main() {
  int T, A, B;
  cin >> T >> A >> B;
  
  int n = A*T;
  
  if (n >= B) {
    cout << B << endl;
  }
  else (n < B){
    cout << n << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:15: error: expected ';' before '{' token
   13 |   else (n < B){
      |               ^
      |               ;
Language: C++

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

int main() {
  int T, A, B;
  cin >> T >> A >> B;
  
  int n = A*T;
  
  if (n >= B) {
    cout << "B" << endl;
  }
  else (n < B){
    cout << n << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:15: error: expected ';' before '{' token
   13 |   else (n < B){
      |               ^
      |               ;
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  int t, a, , A ;
  cin >> t >> a >> B;
  A = t * a;
  if (A <= B){
    cout << A << endl;
  }
  else{
    cout << B << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:13: error: expected unqualified-id before ',' token
    5 |   int t, a, , A ;
      |             ^
a.cc:6:20: error: 'B' was not declared in this scope
    6 |   cin >> t >> a >> B;
      |                    ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  int t, a, b, A ;
  cin >> t >> a >> B;
  A = t * a;
  if (A <= B){
    cout << A << endl;
  }
  else{
    cout << B << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: 'B' was not declared in this scope
    6 |   cin >> t >> a >> B;
      |                    ^
Language: C++

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

int main(){
  int t, a, b, A ;
  cin >> t >> a >> B;
  A = t * a;
  if (A <= B){
    cout << A << endl;
  }
  else{
    cout << B << endl;
  }
}

Compiler output:
a.cc:1:10: fatal error: bits/stdc++: No such file or directory
    1 | #include <bits/stdc++>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

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

int main(void) {
   int N,A,B;
  cin >> N >> A >> B;
  if (N*A >= B) cout << N*A << endl;
  else cout << B << endl;
  
  return 0;
}

Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
using namespace std;
main() {
  int A, T, B;
  cin >> A >> T >> B;
  if (A * N <= B) {
    cout << A * T << endl;
  }
  else {
    cout << B << endl;
  }
}

Compiler output:
a.cc:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    3 | main() {
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:11: error: 'N' was not declared in this scope
    6 |   if (A * N <= B) {
      |           ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
main() {
  int A, T, B;
  cin >> A >> T >> B;
  if (A * N <= B) {
    cout << A * N << endl;
  }
  else {
    cout << B << endl;
  }
}

Compiler output:
a.cc:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    3 | main() {
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:11: error: 'N' was not declared in this scope
    6 |   if (A * N <= B) {
      |           ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int n,a,b;
  cin>>n>>a>>b;
  if(n*a >== b){
    cout<<b<<endl;
  }else{
    cout<<n*a<<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: expected primary-expression before '=' token
    7 |   if(n*a >== b){
      |            ^
Language: C++

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

int main() {
  int N, A, B;
  cin >> N >> A >> B;
  int plan1, plan2;
  plan1 = A * T;
  plan2 = B;
  
  if (plan1 > plan2) {
    cout << plan2 << endl;
  }
  else {
    cout << plan1 << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: 'T' was not declared in this scope
    8 |   plan1 = A * T;
      |               ^
Language: C++

#define rep(i,n) for(int i = 0;i < (n);++i)
#define reps(i,n) for(int i = 1;i <= (n);++i)
using namespace std;
int main(){
  int n,a,b;
  cin >> n >> a >> b;
  cout << min(a*n,b) << '\n';
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> n >> a >> b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #define rep(i,n) for(int i = 0;i < (n);++i)
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout << min(a*n,b) << '\n';
      |   ^~~~
a.cc:7:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:11: error: 'min' was not declared in this scope; did you mean 'main'?
    7 |   cout << min(a*n,b) << '\n';
      |           ^~~
      |           main
Language: C++

#include <iostream>
using namespace std;

int main() {
	int N, A, B;
	cin >> N >> A >> B;

	if (A * T < B) {
		cout << A * T << endl;
	}
	else{
		cout << B << endl;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: 'T' was not declared in this scope
    8 |         if (A * T < B) {
      |                 ^
Language: C++

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

int main() {
  int a, b, c;
  cin >> a >> b >> c;
   if(a * b >= c) {
     cout << C << endl;
   }
  else {
    cout << a * b << endl;
  }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: 'C' was not declared in this scope
    8 |      cout << C << endl;
      |              ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a, b, time;
  cin >> a >> b >> time;
  
  //不等号逆にしてみた
  if((a*time) >= b){　//2つが同じ料金になることも考えて<=にして
  	cout << b << endl;
  } else{
  	cout << a*time << endl;
  }
}

Compiler output:
a.cc:9:21: error: extended character 　 is not valid in an identifier
    9 |   if((a*time) >= b){　//2つが同じ料金になることも考えて<=にして
      |                     ^
a.cc: In function 'int main()':
a.cc:9:21: error: '\U00003000' was not declared in this scope
    9 |   if((a*time) >= b){　//2つが同じ料金になることも考えて<=にして
      |                     ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a, b, time;
  cin >> a >> b >> time;
  
  if((a*time)<b){
  	cout << a*time << endl;
  }　else{
  	cout << b << endl;
  }
}

Compiler output:
a.cc:10:4: error: extended character 　 is not valid in an identifier
   10 |   }　else{
      |    ^
a.cc: In function 'int main()':
a.cc:10:4: error: '\U00003000else' was not declared in this scope
   10 |   }　else{
      |    ^~~~~~
Language: C++

  class Program
    {
        static void Main(string[] args)
        {
            int n;
            int a;
            int b;
            int x;

            var word = Console.ReadLine().Split(' ');

            n = int.Parse(word[0]);
            a = int.Parse(word[1]);
            b = int.Parse(word[2]);

            if (a * n < b)
                x = a * n;
            else 
                x = b;

            Console.WriteLine(x);

            Console.ReadKey();


        }
    }

Compiler output:
a.cc:3:26: error: 'string' has not been declared
    3 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:3:35: error: expected ',' or '...' before 'args'
    3 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:27:6: error: expected ';' after class definition
   27 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void Program::Main(int*)':
a.cc:10:13: error: 'var' was not declared in this scope
   10 |             var word = Console.ReadLine().Split(' ');
      |             ^~~
a.cc:12:17: error: expected primary-expression before 'int'
   12 |             n = int.Parse(word[0]);
      |                 ^~~
a.cc:13:17: error: expected primary-expression before 'int'
   13 |             a = int.Parse(word[1]);
      |                 ^~~
a.cc:14:17: error: expected primary-expression before 'int'
   14 |             b = int.Parse(word[2]);
      |                 ^~~
a.cc:21:13: error: 'Console' was not declared in this scope
   21 |             Console.WriteLine(x);
      |             ^~~~~~~
Language: C++

#include <iostream>
using namespace std;
int main(){
int n,a,b;
cin >>n>>a>>b;
cout <<min(n*a:b)
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: found ':' in nested-name-specifier, expected '::'
    6 | cout <<min(n*a:b)
      |               ^
      |               ::
a.cc:6:14: error: 'a' is not a class, namespace, or enumeration
    6 | cout <<min(n*a:b)
      |              ^
Language: C++

#include <iostream>
using namespace std;
int main(){
int n,a,b;
cin >>n>>a>>b;
cout <<min(n*a:b);
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: found ':' in nested-name-specifier, expected '::'
    6 | cout <<min(n*a:b);
      |               ^
      |               ::
a.cc:6:14: error: 'a' is not a class, namespace, or enumeration
    6 | cout <<min(n*a:b);
      |              ^
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main() {
  int N, A, B;
  cin >> N >> A >> B >>;
  if (N*A>B) {
    cout << B << endl;
  }
  else {
    cout << N*A << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:24: error: expected primary-expression before ';' token
    7 |   cin >> N >> A >> B >>;
      |                        ^
Language: C++

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

int main() {
  int N,A,B;
  cin >> N >> A >> B >> ;
  if (N*A>B) {
    cout << B << ;
  }
  else {
    cout << N*A << ;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:25: error: expected primary-expression before ';' token
    6 |   cin >> N >> A >> B >> ;
      |                         ^
a.cc:8:18: error: expected primary-expression before ';' token
    8 |     cout << B << ;
      |                  ^
a.cc:11:20: error: expected primary-expression before ';' token
   11 |     cout << N*A << ;
      |                    ^
Language: C++

  {
            int n, a, b, p1, p2, x;
            var word = Console.ReadLine().Split(' ');
            n = int.Parse(word[0]);
            a = int.Parse(word[1]);
            b = int.Parse(word[2]);
            p1 = n * a;
            p2 = b;
            if (p1 < p2)
                x = p1;
            else
                x = p2;            
            Console.WriteLine(x);
            Console.ReadKey(); 
        }

Compiler output:
a.cc:1:3: error: expected unqualified-id before '{' token
    1 |   {
      |   ^
Language: C++

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ABC080A
{
    class Program
    {
        static void Main(string[] args)
        {
            int n, a, b, x;

            var word = Console.ReadLine().Split(' ');

            n = int.Parse(word[0]);
            a = int.Parse(word[1]);
            b = int.Parse(word[2]);

            if ((n * a) < b|| (n * a) == b)

                x = n * a;
            else 
            x = b;

            Console.WriteLine(x);

            Console.ReadKey();
        }
    }
}

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.Collections.Generic;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Linq;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'System'
    4 | using System.Text;
      |       ^~~~~~
a.cc:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Threading.Tasks;
      |       ^~~~~~
a.cc:11:26: error: 'string' has not been declared
   11 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:11:35: error: expected ',' or '...' before 'args'
   11 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:31:6: error: expected ';' after class definition
   31 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void ABC080A::Program::Main(int*)':
a.cc:15:13: error: 'var' was not declared in this scope
   15 |             var word = Console.ReadLine().Split(' ');
      |             ^~~
a.cc:17:17: error: expected primary-expression before 'int'
   17 |             n = int.Parse(word[0]);
      |                 ^~~
a.cc:18:17: error: expected primary-expression before 'int'
   18 |             a = int.Parse(word[1]);
      |                 ^~~
a.cc:19:17: error: expected primary-expression before 'int'
   19 |             b = int.Parse(word[2]);
      |                 ^~~
a.cc:27:13: error: 'Console' was not declared in this scope
   27 |             Console.WriteLine(x);
      |             ^~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N,A,B ;
  cin >> N >> A >> B;
  if  ( N * A > B ){
    cout << "B" ;
  }
  else if ( N * A <= B)
    cout << "N + A" ;
  }
}


Compiler output:
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C++

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

int main() {
  int N,A, B;
  cin >> N>>A >> B;

  if(N*A>=B)
    cout<<"B";
  else if(N*A<B)
    cout<<N*A
    }

Compiler output:
a.cc: In function 'int main()':
a.cc:11:14: error: expected ';' before '}' token
   11 |     cout<<N*A
      |              ^
      |              ;
   12 |     }
      |     ~
Language: C++

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

int main() {
  int n, a, b, t;
  cint >> n >> a >> b;
  
  t = n * a;
  if(t <= b){
    cout << t << endl;
  }else{
    cout << b << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cint' was not declared in this scope; did you mean 'uint'?
    6 |   cint >> n >> a >> b;
      |   ^~~~
      |   uint
Language: C++

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

int main() {
  int n, a, b, t;
  cint >> n >> a >> b;
  
  t = n * a
  if(t <= b){
    cout << t << endl;
  }else{
    cout << b << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cint' was not declared in this scope; did you mean 'uint'?
    6 |   cint >> n >> a >> b;
      |   ^~~~
      |   uint
a.cc:8:12: error: expected ';' before 'if'
    8 |   t = n * a
      |            ^
      |            ;
    9 |   if(t <= b){
      |   ~~        
a.cc:11:4: error: 'else' without a previous 'if'
   11 |   }else{
      |    ^~~~
Language: C++

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

int main() {
	int n, a, b;
	cin >> n >> a >> b;
	
	plan_1 = a * n;
	plan_2 = b;
	
	if (plan_1 <= plan_2) {
		cout << plan_1 << endl;
	}
	else;{
		cout << plan_2 << endl;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'plan_1' was not declared in this scope
    8 |         plan_1 = a * n;
      |         ^~~~~~
a.cc:9:9: error: 'plan_2' was not declared in this scope
    9 |         plan_2 = b;
      |         ^~~~~~
Language: C++

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

int main() {
	int n, a, b;
	cin >> n >> a >> b;
	
	plan_1 = a * n;
	plan_2 = b;
	
	if (plan_1 <= plan_2) {
		cout << plan_1 << endl;
	}
	else;{
		cout << plan2 << endl;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'plan_1' was not declared in this scope
    8 |         plan_1 = a * n;
      |         ^~~~~~
a.cc:9:9: error: 'plan_2' was not declared in this scope
    9 |         plan_2 = b;
      |         ^~~~~~
a.cc:15:25: error: 'plan2' was not declared in this scope
   15 |                 cout << plan2 << endl;
      |                         ^~~~~
Language: C++

namespace ABC080A
{
    class Program
    {
        static void Main(string[] args)
        {
            int n;
            int a;
            int b;
            int x;

            var word = Console.ReadLine().Split(' ');

            n = int.Parse(word[0]);
            a = int.Parse(word[1]);
            b = int.Parse(word[2]);

            if (a * n < b)
                x = a * n;
            else 
                x = b;

            Console.WriteLine(x);

            Console.ReadKey();


        }
    }
}

Compiler output:
a.cc:5:26: error: 'string' has not been declared
    5 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:5:35: error: expected ',' or '...' before 'args'
    5 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:29:6: error: expected ';' after class definition
   29 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void ABC080A::Program::Main(int*)':
a.cc:12:13: error: 'var' was not declared in this scope
   12 |             var word = Console.ReadLine().Split(' ');
      |             ^~~
a.cc:14:17: error: expected primary-expression before 'int'
   14 |             n = int.Parse(word[0]);
      |                 ^~~
a.cc:15:17: error: expected primary-expression before 'int'
   15 |             a = int.Parse(word[1]);
      |                 ^~~
a.cc:16:17: error: expected primary-expression before 'int'
   16 |             b = int.Parse(word[2]);
      |                 ^~~
a.cc:23:13: error: 'Console' was not declared in this scope
   23 |             Console.WriteLine(x);
      |             ^~~~~~~
Language: C++

  int n, a, b, p1, p2, x;
            var word = Console.ReadLine().Split(' ');
            n = int.Parse(word[0]);
            a = int.Parse(word[1]);
            b = int.Parse(word[2]);
            p1 = n * a;
            p2 = b;
            if (p1 < p2)
                x = p1;
            else
                x = p2;            
            Console.WriteLine(x);
            Console.ReadKey(); 
        }
    }
}

Compiler output:
a.cc:2:13: error: 'var' does not name a type
    2 |             var word = Console.ReadLine().Split(' ');
      |             ^~~
a.cc:3:13: error: 'n' does not name a type
    3 |             n = int.Parse(word[0]);
      |             ^
a.cc:4:13: error: 'a' does not name a type
    4 |             a = int.Parse(word[1]);
      |             ^
a.cc:5:13: error: 'b' does not name a type
    5 |             b = int.Parse(word[2]);
      |             ^
a.cc:6:13: error: 'p1' does not name a type
    6 |             p1 = n * a;
      |             ^~
a.cc:7:13: error: 'p2' does not name a type
    7 |             p2 = b;
      |             ^~
a.cc:8:13: error: expected unqualified-id before 'if'
    8 |             if (p1 < p2)
      |             ^~
a.cc:10:13: error: expected unqualified-id before 'else'
   10 |             else
      |             ^~~~
a.cc:12:13: error: 'Console' does not name a type
   12 |             Console.WriteLine(x);
      |             ^~~~~~~
a.cc:13:13: error: 'Console' does not name a type
   13 |             Console.ReadKey();
      |             ^~~~~~~
a.cc:14:9: error: expected declaration before '}' token
   14 |         }
      |         ^
a.cc:15:5: error: expected declaration before '}' token
   15 |     }
      |     ^
a.cc:16:1: error: expected declaration before '}' token
   16 | }
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N,A,B;
  cin >> N >> A >> B;
  int PA = N*A
  if (PA >= B){
  	cout << B << endl;
  } else{
  	cout << PA;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: expected ',' or ';' before 'if'
    8 |   if (PA >= B){
      |   ^~
a.cc:10:5: error: 'else' without a previous 'if'
   10 |   } else{
      |     ^~~~
Language: Java

import java.util.Scanner;

public class a801_1 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();
		int x = N * B < C ? N * B : C;
		System.out.println(x);
	}
}

Compiler output:
Main.java:3: error: class a801_1 is public, should be declared in a file named a801_1.java
public class a801_1 {
       ^
1 error
Language: C++

#include <stdc++.h>
using namespace std;
int main () {
  int N, A, B;
  cin >> N >> A >> B;
  if ( N * A >= B ){
    cout << N * A << endl;
  }
  else {
    cout << B << endl;
  }
}


Compiler output:
a.cc:1:10: fatal error: stdc++.h: No such file or directory
    1 | #include <stdc++.h>
      |          ^~~~~~~~~~
compilation terminated.
Language: C++

#incldue<bits/stdc++.h>
using namespace std;
int main()
{
int n,a,b;
cin>>n>>a>>b;
cout<<min(a*n,b);
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incldue; did you mean #include?
    1 | #incldue<bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:1: error: 'cin' was not declared in this scope
    6 | cin>>n>>a>>b;
      | ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #incldue<bits/stdc++.h>
a.cc:7:1: error: 'cout' was not declared in this scope
    7 | cout<<min(a*n,b);
      | ^~~~
a.cc:7:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:7: error: 'min' was not declared in this scope; did you mean 'main'?
    7 | cout<<min(a*n,b);
      |       ^~~
      |       main
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main() {
  int n, a, b;
  cin >> n >> a >> b;
  int A = a * t;
  int B = b;

  cout << min(A, B) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: 't' was not declared in this scope
    8 |   int A = a * t;
      |               ^
Language: C++

#include <iostream>
#include <Bits.h>
using namespace std;
int main()
{
	int N, A, B;
	cin >> N >> A >> B;
	int ans=min(N*A, B);
	cout << ans;
	/*
	if (N*A<B)
	{
		cout << N * A << endl;
	}
	else
	{
		cout << B << endl;
	}
	*/
}

Compiler output:
a.cc:2:10: fatal error: Bits.h: No such file or directory
    2 | #include <Bits.h>
      |          ^~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N,A,B;
  cin >>N>>A>>B;
  if ( N*A => B){cout << "B" << endl;}
  else if ( N*A < B){cout << " N*A" << endl;}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: expected primary-expression before '>' token
    7 |   if ( N*A => B){cout << "B" << endl;}
      |             ^
Language: C++

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

int main() {
  int a,b,c;
  cin >>a>>b>>c

  if (a*b>c) {
    cout <<c << endl;
  }
  else cout<<a*b<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: expected ';' before 'if'
    6 |   cin >>a>>b>>c
      |                ^
      |                ;
    7 | 
    8 |   if (a*b>c) {
      |   ~~            
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else cout<<a*b<<endl;
      |   ^~~~
Language: C++

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

int main(){
  int n, a, b;
  cin >> n >> a >> b;
  if(n * a =< b){
    cout << n * a <<endl;
  }
  else{
    cout << b <<endl;
  }
}
    
    



Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: expected primary-expression before '<' token
    7 |   if(n * a =< b){
      |             ^
Language: C++

#include<iostream>
using namespace sstd;
int main()
{
  int n,a,b;
  cin >> n >> a >> b;
  if(n*a>=b)
    cout << b << endl;
  else
    cout << n*a << endl;
}

Compiler output:
a.cc:2:17: error: 'sstd' is not a namespace-name
    2 | using namespace sstd;
      |                 ^~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> n >> a >> b;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout << b << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout << b << endl;
      |                  ^~~~
      |                  std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     cout << n*a << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     cout << n*a << endl;
      |                    ^~~~
      |                    std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

using namespace std;
  
int main(){
	int N, A, B;
  	cin >> N >> A >> B;
  
  	if(A * N <= B)
      	cout << A * N << endl;
  	else 
      	cout << B << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope
    5 |         cin >> N >> A >> B;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:8:9: error: 'cout' was not declared in this scope
    8 |         cout << A * N << endl;
      |         ^~~~
a.cc:8:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:26: error: 'endl' was not declared in this scope
    8 |         cout << A * N << endl;
      |                          ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
a.cc:10:9: error: 'cout' was not declared in this scope
   10 |         cout << B << endl;
      |         ^~~~
a.cc:10:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:22: error: 'endl' was not declared in this scope
   10 |         cout << B << endl;
      |                      ^~~~
a.cc:10:22: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
    
    int N,A,B;
    
    cin >> N >> A >> B;
    
    int x = N * A;
    
   if(T > B){
       
       cout << 'T' << endl;
   }else if(T == B){
       
       cout << 'T' << endl;
       
   }else{
       
       cout << 'B' << endl;
   }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:7: error: 'T' was not declared in this scope
   12 |    if(T > B){
      |       ^
Language: Java

import java.util.Scanner;

public class practice80a {

	public static void main(String[] args) {
		
		 Scanner scan = new Scanner(System.in);
		 
		 int n = scan.nextInt();
		 int a = scan.nextInt();
		 int b = scan.nextInt();
		 
		 int fee = n*a;
		 
		 if(fee > b) {
			 fee = b;
		 }
		 
		 System.out.print(fee);

	}

}


Compiler output:
Main.java:3: error: class practice80a is public, should be declared in a file named practice80a.java
public class practice80a {
       ^
1 error
Language: Java

import java.util.Scanner;

public class contest80_a {

	public static void main(String[] args) {
		int hour;
		int priceA;
		int priceB;
		
		Scanner sn = new Scanner(System.in);
		hour = sn.nextInt();
		priceA = sn.nextInt();
		priceB = sn.nextInt();
		sn.close();
		
		int result;
		result = hour * priceA;
		
		if(result > priceB){
			System.out.println(priceB);
		}else {
			System.out.println(result);
		}
	}
}

Compiler output:
Main.java:3: error: class contest80_a is public, should be declared in a file named contest80_a.java
public class contest80_a {
       ^
1 error
Language: C++

#include <stdio.h>
int main(void){
 int n,a,b;
 scanf("%d",&n);
 scanf("%d",&a);
 scanf("%d",&b);
if(n*a=>b){
	printf("%d",a*n);
}else{
	printf("%d",b);
}


}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: expected primary-expression before '>' token
    7 | if(n*a=>b){
      |        ^
Language: C++

#include <iostream>

int main() {
  int a = 0, b = 0, c = 0;
  std::cin >> a >> b >> c;
  std::cout << min(a*b, c) << std::endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: 'min' was not declared in this scope; did you mean 'std::min'?
    6 |   std::cout << min(a*b, c) << std::endl;
      |                ^~~
      |                std::min
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: 'std::min' declared here
  281 |     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
Language: C++

#include <iostream>

int main() {
  int a = 0, b = 0, c = 0;
  std::cin >> a >> b >> c;
  std::cout << min(a*n, b) << std::endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:22: error: 'n' was not declared in this scope
    6 |   std::cout << min(a*n, b) << std::endl;
      |                      ^
a.cc:6:16: error: 'min' was not declared in this scope; did you mean 'std::min'?
    6 |   std::cout << min(a*n, b) << std::endl;
      |                ^~~
      |                std::min
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: 'std::min' declared here
  281 |     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
Language: C++

#include <bits/stdc++>
using namespace std;
int main() {
  int N, A, B;
  cin >> N >> A >> B;
  if ( N * A < B ) {
    cout << B << endl;
  } else {
    cout << N * A << endl;
  }
}

Compiler output:
a.cc:1:10: fatal error: bits/stdc++: No such file or directory
    1 | #include <bits/stdc++>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, A, B;
  if (N * A < B) {
    cout << N * A << endl;
  }
  if (N * A = B) {
    cout << B << endl;
  }
  if (N * A > B) {
    cout << B << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: lvalue required as left operand of assignment
    8 |   if (N * A = B) {
      |       ~~^~~
Language: C++

#include<iostream>
using namespace std;

int main (){
  int n,a, b;
  cin >> n >> a >> b;
  a = a * n;

  if (a == b) {
    cout << b << endl;
  }else if (a > b){
    cout << b << endl;
  }else{
    cout << a << endl;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:2: error: expected '}' at end of input
   16 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main (){
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
int A,N,B,C;
  cin>>A>>B>>N;
  C=A*N;
  if(C=>B){
  cout<<B<<endl;
  }else{
  cout<<A<<endl;
  }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: expected primary-expression before '>' token
    7 |   if(C=>B){
      |        ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
int A,N,B,C;
  cin>>A>>B>>N;
  C=A*N
  if(C=>B){
  cout<<B<<endl;
  }else{
  cout<<A<<endl;
  }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: expected ';' before 'if'
    6 |   C=A*N
      |        ^
      |        ;
    7 |   if(C=>B){
      |   ~~    
a.cc:9:4: error: 'else' without a previous 'if'
    9 |   }else{
      |    ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
int A,B,C,N;
  cin>>A>>B>>N;
  C=A*N;
  if(C=>B){
  cout<<B<<endl;
  }else{
  cout<<A<<endl;
  }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: expected primary-expression before '>' token
    7 |   if(C=>B){
      |        ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  //nab
  int n,a,b,x,z;
  cio >>n>>a>>b;
  x=n*a;
  if(x>b){
    z=b;
  }else{
  	z=x;
  }
  cout << z << endl;
	
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'cio' was not declared in this scope
    7 |   cio >>n>>a>>b;
      |   ^~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
int N,A,B;
cin >>N >>A >>B;
if(A*N<=B){
	cout <<"A*N"
}
else{
	cout <<"B"
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:21: error: expected ';' before '}' token
    7 |         cout <<"A*N"
      |                     ^
      |                     ;
    8 | }
      | ~                    
a.cc:10:19: error: expected ';' before '}' token
   10 |         cout <<"B"
      |                   ^
      |                   ;
   11 | }
      | ~
Language: C++

#include<bits/stdc++.h>
using namespace std
int main(){

  int N,A,B;

  cin >>N >>A >>B;

  if(A*N<=B){
	cout <<"A*N";

  }

  else{
	cout <<"B";

  }
}

Compiler output:
a.cc:2:20: error: expected ';' before 'int'
    2 | using namespace std
      |                    ^
      |                    ;
    3 | int main(){
      | ~~~
Language: C++

#include<bits/stdc++.h>
using namespace std
int main(){
int N,A,B;
cin >>N >>A >>B;
if(A*N<=B){
	cout <<"A*N"
}
else{
	cout <<"B"
}
}

Compiler output:
a.cc:2:20: error: expected ';' before 'int'
    2 | using namespace std
      |                    ^
      |                    ;
    3 | int main(){
      | ~~~                 
a.cc: In function 'int main()':
a.cc:7:21: error: expected ';' before '}' token
    7 |         cout <<"A*N"
      |                     ^
      |                     ;
    8 | }
      | ~                    
a.cc:10:19: error: expected ';' before '}' token
   10 |         cout <<"B"
      |                   ^
      |                   ;
   11 | }
      | ~
Language: C++

#include<iostream>
#include<cstdio>
#include<algorithm>
#include<cmath>
#include<string>
#include<vector>
#include<list>
#include<set>
#include<map>
#include<queue>
#include<stack>
#include<cctype>
#include<climits>
#include<bitset>
#include<bits/stdc++.h>
#define ld long double
#define ll long long int
#define ull unsigned long long intS
#define rep(i,n) for(int i=0;i<n;i++)
#define fin(ans) cout<<(ans)<<endl
#define in(n) cin>>n>>
#define INF INT_MAX
#define vi vector<int>
#define vc vector<char>
#define vs vector<string>
#define vpii vector<pair<int,int> >
#define vvi vector<vector<int> >
#define vvc vector<vector<char> >
#define vvs vector<vector<string> >
#define P 1000000007
using namespace std;
template<class T> inline bool chmax(T& a,T b){if(a<b){a=b;return 1;}return 0;}
template<class T> inline bool chmin(T& a,T b){if(a>b){a=b;return 1;}return 0;}
const long long LLINF=1LL<<60;
//set<int>::iterator it;


int main(void){ios::sync_with_stdio(false);cin.tie(0);
//////////////////////////////////////////////////////
    
    
       int n,a,b,sum;
    
    cin >> n >> a >> b;
    
    sum = a*n;
    
    if (sum < b){
    
        cout << sum << endl;
    }else {
    
        cout << b << endl;
    
    }*/
    
    /*79
    string s;
    
    cin >> s;
    
    if ((s[0]==s[1] && s[1]==s[2])||(s[1]==s[2] && s[2]==s[3])){
    
        cout << "Yes" << endl;
    
    }else{
        
        cout << "No" << endl;
        
    }
    
    */
    
    /*78
    char x,y;
    
    cin >> x >> y;
    
    if((x-y)>0){
        
        cout << '>' << endl;
        
    }else if (x==y){
        
        cout << '=' << endl;
        
    }else{
        
        cout << '<' << endl;
        
    }
    */
    
    /*int s[3][2];
    
    rep(i,3){
        rep(j,3){
            
            cin >> s[i][j];
            
        }
    }
    
    if ((s[0][0]==s[2][1])&&(s[1][0]==s[1][1])&&(s[2][0]==s[0][1])){
    
    cout << "Yes" << endl;
    
    }else{
    
    cout << "No" << endl;
    
    }
    */
/////////////////////////////////////////////////////
return 0;}

Compiler output:
a.cc: In function 'int main()':
a.cc:55:7: error: expected primary-expression before '/' token
   55 |     }*/
      |       ^
a.cc:115:1: error: expected primary-expression before 'return'
  115 | return 0;}
      | ^~~~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

#define REP(i, n) for(int i = 0; i < (n); i++)
#define SREP(i, s) for(int i = 0; i < (s.length()); i++)
#define SORT(v, n) sort(v, v+n);
#define GSORT(v, n) sort(v, v+n, greater<int>())

int main(){
	int a,b;
	cin >> n >> a >> b;
	cout << min((n*a),b) << endl;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:16: error: 'n' was not declared in this scope
   12 |         cin >> n >> a >> b;
      |                ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N , A ,　B;
  cin >> N >> A >> B;
  if( N * A >= B )
    cout << B;
  if( N * A < B )
    cout << N * A;
  }
  

Compiler output:
a.cc:5:14: error: extended character 　 is not valid in an identifier
    5 |   int N , A ,　B;
      |              ^
a.cc: In function 'int main()':
a.cc:6:20: error: 'B' was not declared in this scope
    6 |   cin >> N >> A >> B;
      |                    ^
Language: C++

#include <iostream>
using namespace std;
int main()
{
  int a,b,c;
  cin >> a >> b >> c;
  cout << (a*b>c)?c:a*b << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:25: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    7 |   cout << (a*b>c)?c:a*b << endl;
      |                     ~~~~^~~~~~~
Language: C++

#include <iostream>
using namespace std;

int main(){
  int N,A,B,;
  cin>>N>>A>>B;
  if(N*A<=B)x=cout<<N*A;
  else cout<<B;}
  


Compiler output:
a.cc: In function 'int main()':
a.cc:5:13: error: expected unqualified-id before ';' token
    5 |   int N,A,B,;
      |             ^
a.cc:7:13: error: 'x' was not declared in this scope
    7 |   if(N*A<=B)x=cout<<N*A;
      |             ^