Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- long long int L,W,H,t,i;
- scanf("%lld",&t);
- for(i=1;i<=t;i++)
- {
- scanf("%lld%lld%lld",&L,&W,&H);
- if(L>20 || W>20 || H>20)
- printf("Case %lld: bad\n",i);
- else
- printf("Case %lld: good\n",i);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment