Language: C++

#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <map>
#define rep(i,cc,n) for(int i=cc;i<=n;++i)
#define drep(i,cc,n) for(int i=cc;i>=n;--i)
template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }
const long long INF = 1LL <<60;
typedef long long ll;
using namespace std;

ll gcd(ll a, ll b) {
    if (b==0) return a;
    else return gcd(b, a%b);
}

ll lcm(ll a, ll b) {
    return a * b / gcd(a, b);
}

ll choose2(ll n){
    return n*(n-1)/2;
}

#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <map>
#define rep(i,cc,n) for(int i=cc;i<n;++i)
#define drep(i,cc,n) for(int i=cc;i>n;--i)
template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }
const long long INF = 1LL <<60;
typedef long long ll;
using namespace std;
 
ll gcd(ll a, ll b) {
    if (b==0) return a;
    else return gcd(b, a%b);
}
 
ll lcm(ll a, ll b) {
    return a * b / gcd(a, b);
}
 
ll choose2(ll n){
    return n*(n-1)/2;
}
 
int main(){
    int d,n;
    cin>>d>>n;
    if(d == 0) cout<<n<<endl;
    else if(d == 1) cout<<100 * n<<endl;
    else cout<<10000 * n<<endl;
    return 0;
}

Compiler output:
a.cc:32:9: warning: "rep" redefined
   32 | #define rep(i,cc,n) for(int i=cc;i<n;++i)
      |         ^~~
a.cc:6:9: note: this is the location of the previous definition
    6 | #define rep(i,cc,n) for(int i=cc;i<=n;++i)
      |         ^~~
a.cc:33:9: warning: "drep" redefined
   33 | #define drep(i,cc,n) for(int i=cc;i>n;--i)
      |         ^~~~
a.cc:7:9: note: this is the location of the previous definition
    7 | #define drep(i,cc,n) for(int i=cc;i>=n;--i)
      |         ^~~~
a.cc:34:23: error: redefinition of 'template<class T> bool chmax(T&, const T&)'
   34 | template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
      |                       ^~~~~
a.cc:8:23: note: 'template<class T> bool chmax(T&, const T&)' previously declared here
    8 | template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
      |                       ^~~~~
a.cc:35:23: error: redefinition of 'template<class T> bool chmin(T&, const T&)'
   35 | template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }
      |                       ^~~~~
a.cc:9:23: note: 'template<class T> bool chmin(T&, const T&)' previously declared here
    9 | template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }
      |                       ^~~~~
a.cc:36:17: error: redefinition of 'const long long int INF'
   36 | const long long INF = 1LL <<60;
      |                 ^~~
a.cc:10:17: note: 'const long long int INF' previously defined here
   10 | const long long INF = 1LL <<60;
      |                 ^~~
a.cc:40:4: error: redefinition of 'll gcd(ll, ll)'
   40 | ll gcd(ll a, ll b) {
      |    ^~~
a.cc:14:4: note: 'll gcd(ll, ll)' previously defined here
   14 | ll gcd(ll a, ll b) {
      |    ^~~
a.cc:45:4: error: redefinition of 'll lcm(ll, ll)'
   45 | ll lcm(ll a, ll b) {
      |    ^~~
a.cc:19:4: note: 'll lcm(ll, ll)' previously defined here
   19 | ll lcm(ll a, ll b) {
      |    ^~~
a.cc:49:4: error: redefinition of 'll choose2(ll)'
   49 | ll choose2(ll n){
      |    ^~~~~~~
a.cc:23:4: note: 'll choose2(ll)' previously defined here
   23 | ll choose2(ll n){
      |    ^~~~~~~