Created
November 16, 2017 11:03
-
-
Save shakir1443/59bcbb7f500e192dbf04e3d982a70db1 to your computer and use it in GitHub Desktop.
ACM Problem Solutions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****************************************************************************** | |
Author : Abdul Alim Shakir | |
*******************************************************************************/ | |
#include <stdio.h> | |
int main() | |
{ | |
int t,n; | |
scanf("%d",&t); | |
int count=1; | |
while(t--) | |
{ | |
scanf("%d %d %d",&l,&w,&h); | |
if(h<=20 && w<=20 && l<=20) | |
{ | |
printf("Case %d: good\n",count); | |
} | |
else | |
{ | |
printf("Case %d: bad\n",count); | |
} | |
count++; | |
} | |
return 0; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment