Language: Java

#include <bits/stdc++.h>

using namespace std;

typedef long long ll;
typedef unsigned long long ull;

#define Abs(x)((x) < 0 ? (x) * -1 : (x))

#define rep(x, y) for ((x) = 0; (x) < (y); (x)++)
#define repin(x, y) for ((x) = 0; (x) <= (y); (x)++)
#define nep(x, y) for ((x) = (y) - 1; 0 <= (x); (x)--)
#define nepi(x, y, z) for ((x) = (y) - 1; (z) <= (x); (x)--)
#define repi(x, y, z) for ((x) = (z); (x) < (y); (x)++)
#define repiin(x, y, z) for ((x) = (z); (x) <= (y); (x)++)
#define reps(x, y, z) for ((x) = 0; (x) < (y); (x) += (z))
#define repis(x, y, z, s) for ((x) = (z); (x) < (y); (x) += (s))
#define repiins(x, y, z, s) for ((x) = (z); (x) <= (y); (x) += (s))
#define repit(x) for (__typeof((x).begin()) it = (x).begin(); it != (x).end(); it++)
#define repit2(x) for (__typeof((x).begin()) it2 = (x).begin(); it2 != (x).end(); it2++)
#define nepit(x) for (__typeof((x).rbegin()) it = (x).rbegin(); it != (x).rend(); it++)

#define All(x) (x).begin(),(x).end()

#define Mem0(x) memset(x, 0, sizeof(x))
#define Mem1(x) memset(x, -1, sizeof(x))

// can be applied to string type
#define Unique(v) v.resize(unique(All(v)) - v.begin())

#define peq(p0, p1)(p0.first == p1.first && p0.second == p1.second)

#define End '\n'
#define Out(x) cout<<(x)<<End
template<typename T>
void OutN(T x) {
	size_t i, len = x.size() - 1;

	for (i = 0; i < len; i++) cout << x[i] << " ";
	cout << x[len] << '\n';
}
#define OutaN(x)                                                     \
    do {                                                             \
        size_t i, len = sizeof(x) / sizeof(__typeof(x[0])) - 1;      \
        for (i = 0; i < len; i++) cout << x[i] << " ";               \
        cout << x[len] << '\n';                                      \
    } while (0);

template<typename T>
void Outit(T x) {
	auto end = x.end();

	end--;
	
	for (auto it = x.begin(); it != end; it++) cout << *it << " ";
	cout << *end << '\n';
}
template<typename T>
void Debug(const T &val) { cerr << val << End; }
template<typename T, typename... Args>
void Debug(const T &val, Args... args) {
    cerr << val << ' ';
	Debug(std::forward<Args>(args)...);
}

template<typename T> inline bool Max(T &x, const T &y) { return x < y ? x = y, 1 : 0; }
template<typename T> inline bool Min(T &x, const T &y) { return x > y ? x = y, 1 : 0; }
template<typename T> using V = vector<T>;
template<typename T> using VV = V<V<T> >;

// can be applied to string type
#define Sort(v) sort(All(v))
#define SortR(v) sort(All(v), std::greater<__typeof(v[0])>())
// array sorters
#define Sart(a) sort(a, a + sizeof(a) / sizeof(__typeof(a[0])));
#define SartR(a) sort(a, a + sizeof(a) / sizeof(__typeof(a[0])), std::greater<__typeof(a[0])>())

#define pb push_back
#define mp make_pair
#define a first
#define b second
#define lb std::lower_bound
#define ub std::upper_bound

#define lbi(v, x) lb(All(v), (x))-v.begin()
#define ubi(v, x) ub(All(v), (x))-v.begin()

static const ll MOD = 1e9 + 7;
static const double PI = 3.141592653589793;

#define LOCAL 0

int main()
{
#if LOCAL
    freopen("in.txt", "r", stdin);
    freopen("out.txt", "w", stdout);
    freopen("debug.txt", "w", stderr);
#endif

    cin.tie(0);
    ios::sync_with_stdio(false);
	//std::cout.precision(18);

    int n, a, b;

	cin >> n >> a >> b;

	Out(min(b, a * n));
	
	return 0;
}


Compiler output:
Main.java:1: error: illegal character: '#'
#include <bits/stdc++.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include <bits/stdc++.h>
         ^
Main.java:5: error: class, interface, enum, or record expected
typedef long long ll;
^
Main.java:6: error: class, interface, enum, or record expected
typedef unsigned long long ull;
^
Main.java:8: error: illegal character: '#'
#define Abs(x)((x) < 0 ? (x) * -1 : (x))
^
Main.java:8: error: class, interface, enum, or record expected
#define Abs(x)((x) < 0 ? (x) * -1 : (x))
        ^
Main.java:10: error: illegal character: '#'
#define rep(x, y) for ((x) = 0; (x) < (y); (x)++)
^
Main.java:10: error: class, interface, enum, or record expected
#define rep(x, y) for ((x) = 0; (x) < (y); (x)++)
                                ^
Main.java:10: error: class, interface, enum, or record expected
#define rep(x, y) for ((x) = 0; (x) < (y); (x)++)
                                           ^
Main.java:11: error: illegal character: '#'
#define repin(x, y) for ((x) = 0; (x) <= (y); (x)++)
^
Main.java:11: error: class, interface, enum, or record expected
#define repin(x, y) for ((x) = 0; (x) <= (y); (x)++)
                                  ^
Main.java:11: error: class, interface, enum, or record expected
#define repin(x, y) for ((x) = 0; (x) <= (y); (x)++)
                                              ^
Main.java:12: error: illegal character: '#'
#define nep(x, y) for ((x) = (y) - 1; 0 <= (x); (x)--)
^
Main.java:12: error: class, interface, enum, or record expected
#define nep(x, y) for ((x) = (y) - 1; 0 <= (x); (x)--)
                                      ^
Main.java:12: error: class, interface, enum, or record expected
#define nep(x, y) for ((x) = (y) - 1; 0 <= (x); (x)--)
                                                ^
Main.java:13: error: illegal character: '#'
#define nepi(x, y, z) for ((x) = (y) - 1; (z) <= (x); (x)--)
^
Main.java:13: error: class, interface, enum, or record expected
#define nepi(x, y, z) for ((x) = (y) - 1; (z) <= (x); (x)--)
                                          ^
Main.java:13: error: class, interface, enum, or record expected
#define nepi(x, y, z) for ((x) = (y) - 1; (z) <= (x); (x)--)
                                                      ^
Main.java:14: error: illegal character: '#'
#define repi(x, y, z) for ((x) = (z); (x) < (y); (x)++)
^
Main.java:14: error: class, interface, enum, or record expected
#define repi(x, y, z) for ((x) = (z); (x) < (y); (x)++)
                                      ^
Main.java:14: error: class, interface, enum, or record expected
#define repi(x, y, z) for ((x) = (z); (x) < (y); (x)++)
                                                 ^
Main.java:15: error: illegal character: '#'
#define repiin(x, y, z) for ((x) = (z); (x) <= (y); (x)++)
^
Main.java:15: error: class, interface, enum, or record expected
#define repiin(x, y, z) for ((x) = (z); (x) <= (y); (x)++)
                                        ^
Main.java:15: error: class, interface, enum, or record expected
#define repiin(x, y, z) for ((x) = (z); (x) <= (y); (x)++)
                                                    ^
Main.java:16: error: illegal character: '#'
#define reps(x, y, z) for ((x) = 0; (x) < (y); (x) += (z))
^
Main.java:16: error: class, interface, enum, or record expected
#define reps(x, y, z) for ((x) = 0; (x) < (y); (x) += (z))
                                    ^
Main.java:16: error: class, interface, enum, or record expected
#define reps(x, y, z) for ((x) = 0; (x) < (y); (x) += (z))
                                               ^
Main.java:17: error: illegal character: '#'
#define repis(x, y, z, s) for ((x) = (z); (x) < (y); (x) += (s))
^
Main.java:17: error: class, interface, enum, or record expected
#define repis(x, y, z, s) for ((x) = (z); (x) < (y); (x) += (s))
                                          ^
Main.java:17: error: class, interface, enum, or record expected
#define repis(x, y, z, s) for ((x) = (z); (x) < (y); (x) += (s))
                                                     ^
Main.java:18: error: illegal character: '#'
#define repiins(x, y, z, s) for ((x) = (z); (x) <= (y); (x) += (s))
^
Main.java:18: error: class, interface, enum, or record expected
#define repiins(x, y, z, s) for ((x) = (z); (x) <= (y); (x) += (s))
                                            ^
Main.java:18: error: class, interface, enum, or record expected
#define repiins(x, y, z, s) for ((x) = (z); (x) <= (y); (x) += (s))
                                                        ^
Main.java:19: error: illegal character: '#'
#define repit(x) for (__typeof((x).begin()) it = (x).begin(); it != (x).end(); it++)
^
Main.java:19: error: class, interface, enum, or record expected
#define repit(x) for (__typeof((x).begin()) it = (x).begin(); it != (x).end(); it++)
                                                              ^
Main.java:19: error: class, interface, enum, or record expected
#define repit(x) for (__typeof((x).begin()) it = (x).begin(); it != (x).end(); it++)
                                                                               ^
Main.java:20: error: illegal character: '#'
#define repit2(x) for (__typeof((x).begin()) it2 = (x).begin(); it2 != (x).end(); it2++)
^
Main.java:20: error: class, interface, enum, or record expected
#define repit2(x) for (__typeof((x).begin()) it2 = (x).begin(); it2 != (x).end(); it2++)
                                                                ^
Main.java:20: error: class, interface, enum, or record expected
#define repit2(x) for (__typeof((x).begin()) it2 = (x).begin(); it2 != (x).end(); it2++)
                                                                                  ^
Main.java:21: error: illegal character: '#'
#define nepit(x) for (__typeof((x).rbegin()) it = (x).rbegin(); it != (x).rend(); it++)
^
Main.java:21: error: class, interface, enum, or record expected
#define nepit(x) for (__typeof((x).rbegin()) it = (x).rbegin(); it != (x).rend(); it++)
                                                                ^
Main.java:21: error: class, interface, enum, or record expected
#define nepit(x) for (__typeof((x).rbegin()) it = (x).rbegin(); it != (x).rend(); it++)
                                                                                  ^
Main.java:23: error: illegal character: '#'
#define All(x) (x).begin(),(x).end()
^
Main.java:25: error: illegal character: '#'
#define Mem0(x) memset(x, 0, sizeof(x))
^
Main.java:26: error: illegal character: '#'
#define Mem1(x) memset(x, -1, sizeof(x))
^
Main.java:29: error: illegal character: '#'
#define Unique(v) v.resize(unique(All(v)) - v.begin())
^
Main.java:31: error: illegal character: '#'
#define peq(p0, p1)(p0.first == p1.first && p0.second == p1.second)
^
Main.java:33: error: illegal character: '#'
#define End '\n'
^
Main.java:34: error: illegal character: '#'
#define Out(x) cout<<(x)<<End
^
Main.java:39: error: class, interface, enum, or record expected
	for (i = 0; i < len; i++) cout << x[i] << " ";
	^
Main.java:39: error: class, interface, enum, or record expected
	for (i = 0; i < len; i++) cout << x[i] << " ";
	            ^
Main.java:39: error: class, interface, enum, or record expected
	for (i = 0; i < len; i++) cout << x[i] << " ";
	                     ^
Main.java:40: error: class, interface, enum, or record expected
	cout << x[len] << '\n';
	^
Main.java:41: error: class, interface, enum, or record expected
}
^
Main.java:42: error: illegal character: '#'
#define OutaN(x)                                                     \
^
Main.java:42: error: illegal character: '\'
#define OutaN(x)                                                     \
                                                                     ^
Main.java:43: error: illegal character: '\'
    do {                                                             \
                                                                     ^
Main.java:44: error: illegal character: '\'
        size_t i, len = sizeof(x) / sizeof(__typeof(x[0])) - 1;      \
                                                                     ^
Main.java:45: error: class, interface, enum, or record expected
        for (i = 0; i < len; i++) cout << x[i] << " ";               \
            ^
Main.java:45: error: class, interface, enum, or record expected
        for (i = 0; i < len; i++) cout << x[i] << " ";               \
                    ^
Main.java:45: error: class, interface, enum, or record expected
        for (i = 0; i < len; i++) cout << x[i] << " ";               \
                             ^
Main.java:45: error: illegal character: '\'
        for (i = 0; i < len; i++) cout << x[i] << " ";               \
                                                                     ^
Main.java:46: error: class, interface, enum, or record expected
        cout << x[len] << '\n';                                      \
             ^
Main.java:46: error: illegal character: '\'
        cout << x[len] << '\n';                                      \
                                                                     ^
Main.java:47: error: class, interface, enum, or record expected
    } while (0);
      ^
Main.java:49: error: class, interface, enum, or record expected
template<typename T>
^
Main.java:53: error: class, interface, enum, or record expected
	end--;
	^
Main.java:55: error: class, interface, enum, or record expected
	for (auto it = x.begin(); it != end; it++) cout << *it << " ";
	^
Main.java:55: error: class, interface, enum, or record expected
	for (auto it = x.begin(); it != end; it++) cout << *it << " ";
	                          ^
Main.java:55: error: class, interface, enum, or record expected
	for (auto it = x.begin(); it != end; it++) cout << *it << " ";
	                                     ^
Main.java:56: error: class, interface, enum, or record expected
	cout << *end << '\n';
	^
Main.java:57: error: class, interface, enum, or record expected
}
^
Main.java:59: error: class, interface, enum, or record expected
void Debug(const T &val) { cerr << val << End; }
                                               ^
Main.java:63: error: class, interface, enum, or record expected
	Debug(std::forward<Args>(args)...);
	^
Main.java:64: