Language: C++

#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <bitset>
#include <map>
#include <tuple>
#include <unordered_set>
#include <unordered_map>
#include <list>
#include <numeric>
#include <utility>
#include <iterator>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <climits>
#include <ctime>
#include <cassert>
#include <random>
#include <cstring>


#define rep(i,n) for(int i=0;i<int(n);i++)
#define all(x) (x).begin(),x.end()
#define pb push_back

using namespace std;
using ll = long long;

const ll mod = 1000000007;
int dx[4]={1,0,-1,0};
int dy[4]={0,1,0,-1};
int ddx[8]={-1,-1,0,1,1,1,0,-1};
int ddy[8]={0,1,1,1,0,-1,-1,-1};
bool debug=false;

/*---------------------------------------------------*/

int main(){
  int a, b, c;
  scanf("%d/%d/%d", &a, &b, &c);
  if(2019 <= a && 5 <= b) cout << "TBD" << endl;
  else cout << "Heisei" << endl;
  return 0;
}
#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <bitset>
#include <map>
#include <tuple>
#include <unordered_set>
#include <unordered_map>
#include <list>
#include <numeric>
#include <utility>
#include <iterator>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <climits>
#include <ctime>
#include <cassert>
#include <random>
#include <cstring>


#define rep(i,n) for(int i=0;i<int(n);i++)
#define all(x) (x).begin(),x.end()
#define pb push_back

using namespace std;
using ll = long long;

const ll mod = 1000000007;
int dx[4]={1,0,-1,0};
int dy[4]={0,1,0,-1};
int ddx[8]={-1,-1,0,1,1,1,0,-1};
int ddy[8]={0,1,1,1,0,-1,-1,-1};
bool debug=false;

/*---------------------------------------------------*/

int main(){
  int a, b, c;
  scanf("%d/%d/%d", &a, &b, &c);
  if(2019 <= a && 5 <= b) cout << "TBD" << endl;
  else cout << "Heisei" << endl;
  return 0;
}


Compiler output:
a.cc:85:10: error: redefinition of 'const ll mod'
   85 | const ll mod = 1000000007;
      |          ^~~
a.cc:35:10: note: 'const ll mod' previously defined here
   35 | const ll mod = 1000000007;
      |          ^~~
a.cc:86:5: error: redefinition of 'int dx [4]'
   86 | int dx[4]={1,0,-1,0};
      |     ^~
a.cc:36:5: note: 'int dx [4]' previously defined here
   36 | int dx[4]={1,0,-1,0};
      |     ^~
a.cc:87:5: error: redefinition of 'int dy [4]'
   87 | int dy[4]={0,1,0,-1};
      |     ^~
a.cc:37:5: note: 'int dy [4]' previously defined here
   37 | int dy[4]={0,1,0,-1};
      |     ^~
a.cc:88:5: error: redefinition of 'int ddx [8]'
   88 | int ddx[8]={-1,-1,0,1,1,1,0,-1};
      |     ^~~
a.cc:38:5: note: 'int ddx [8]' previously defined here
   38 | int ddx[8]={-1,-1,0,1,1,1,0,-1};
      |     ^~~
a.cc:89:5: error: redefinition of 'int ddy [8]'
   89 | int ddy[8]={0,1,1,1,0,-1,-1,-1};
      |     ^~~
a.cc:39:5: note: 'int ddy [8]' previously defined here
   39 | int ddy[8]={0,1,1,1,0,-1,-1,-1};
      |     ^~~
a.cc:90:6: error: redefinition of 'bool debug'
   90 | bool debug=false;
      |      ^~~~~
a.cc:40:6: note: 'bool debug' previously defined here
   40 | bool debug=false;
      |      ^~~~~
a.cc:94:5: error: redefinition of 'int main()'
   94 | int main(){
      |     ^~~~
a.cc:44:5: note: 'int main()' previously defined here
   44 | int main(){
      |     ^~~~