Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include<array>
- #include <bits/stdc++.h>
- #include<string>
- using namespace std;
- int main ()
- {
- int n=0,l,w,h,k=0;
- cin>>n;
- while(n!=0){
- k++;
- cin>>l>>w>>h;
- if(l<=20 && w<=20 && h<=20)
- cout<<"Case "<<k<<": good"<<endl;
- else cout<<"Case "<<k<<": bad"<<endl;
- n--;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement