Pabon_SEC

Packing for holiday

Sep 3rd, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     long long int L,W,H,t,i;
  5.     scanf("%lld",&t);
  6.     for(i=1;i<=t;i++)
  7.     {
  8.         scanf("%lld%lld%lld",&L,&W,&H);
  9.         if(L>20 || W>20 || H>20)
  10.         printf("Case %lld: bad\n",i);
  11.         else
  12.         printf("Case %lld: good\n",i);
  13.     }
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment