1 solutions

  • 1
    @ 2024-11-29 20:29:56
    #include<bits/stdc++.h>
    using namespace std;
    
    int main()
    {
    	int a,b,c;
    	scanf("%d/%d/%d",&a,&b,&c);
    	int d=a*10000+b*100+c;
    	if(d<=20190430)
    	{
    		cout<<"Heisei";
    	}
    	else
    	{
    		cout<<"TBD";
    	}
    }
    
    
    • 1

    Information

    ID
    1808
    Time
    2000ms
    Memory
    1024MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    6
    Accepted
    4
    Uploaded By