Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.  
  7. int tc;
  8. cin >> tc;
  9. while(tc--){
  10. int a[4], cnt = 0;
  11.  
  12. cin >> a[0]>> a[1] >> a[2] >> a[3];
  13. for(int i = 0; i <= 3; i++)
  14. {
  15. if(a[i]>0)cnt++;
  16. }
  17.  
  18. if(cnt == 0 ) cout << "Typically Otaku\n";
  19. if(cnt == 1 ) cout << "Eye-opener\n";
  20. if(cnt == 2 ) cout << "Young Traveller\n";
  21. if(cnt == 3 ) cout << "Excellent Traveller\n";
  22. if(cnt == 4 ) cout << "Contemporary Xu Xiake\n";
  23. }
  24. return 0;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement