#include<bits/stdc++.h>
#include<algorithm>
using namespace std;
int main(){
char howtime[10];
cin>>howtime;
//对小时、分钟做处理
int hour,min;
hour = (howtime[0]-'0')*10+(howtime[1]-'0');
min = (howtime[3]-'0')*10+(howtime[4]-'0');
if(hour<=12&&hour>=0){
cout<<"Only "<<howtime<<". Too early to Dang."<<endl;
}else{
if(min == 0){
for(int i=0;i<hour-12;i++){
cout<<"Dang";
}
}else {
for(int i=0;i<hour+1-12;i++){
cout<<"Dang";
}
}
}
}
大笨钟(10分)
最新推荐文章于 2023-01-27 13:46:18 发布