diff --git a/.vscode/cesi.cpp b/.vscode/cesi.cpp new file mode 100644 index 0000000..1b1c2a8 --- /dev/null +++ b/.vscode/cesi.cpp @@ -0,0 +1,16 @@ +#include +#include +using namespace std; +int main() +{ + int a,b; + scanf("%d:%d",&a,&b); + if(a<12||(a==12&&b==0))printf("Only %02d:%02d. Too early to Dang.",a,b); + else { + int sum=a-12; + if(b<0)sum = sum + 1; + for(int i=1;i<=sum;i++) + printf("Dang"); + } + return 0; +} \ No newline at end of file