I have stored my online judge solutions of my own :)
#include<bits/stdc++.h> using namespace std; int main() { int a , b , c,t,cse=0; cin>>t; while(t--){ cin>>a>>b>>c; if(a>20||b>20||c>20) cout<<"Case "<<++cse<<": "<<"bad"<<endl; else cout<<"Case "<<++cse<<": "<<"good"<<endl; } return 0; }
No comments:
Post a Comment