Iamtui1010

S01E01

Nov 30th, 2021
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. #include<iostream>
  2.  
  3. #define long long long
  4. #define nln '\n'
  5.  
  6. using namespace std;
  7.  
  8. int main()
  9. {
  10.     long t;
  11.     cin >> t;
  12.     for (long i = 1; i <= t; ++i)
  13.     {
  14.         long n;
  15.         cin >> n;
  16.         if (n >= 21)
  17.             cout << "yes" << nln;
  18.         else
  19.             cout << "no" << nln;
  20.     }
  21.     return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment