Advertisement
sherry_ahmos

Untitled

Nov 26th, 2022
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.52 KB | None | 0 0
  1. #include <iostream>
  2. #include <cmath>
  3. #include <iomanip>
  4.  
  5. using namespace std;
  6.  
  7. #define cy cout << "YES"
  8. typedef long long ll;
  9.  
  10. void sherry()
  11. {
  12.     ios_base::sync_with_stdio(false), cin.tie(nullptr), cout.tie(nullptr);
  13. #ifndef ONLINE_JUDGE
  14.     freopen("input.txt", "r", stdin), freopen("output.txt", "w", stdout);
  15. #endif
  16. }
  17.  
  18. int main()
  19. {
  20.     sherry();
  21.     ll c;
  22.     cin >> c;
  23.     cout << c;
  24.     cy;
  25.     /*
  26.     relational operator : < ,<= , > , >= , == , !=
  27.     logical operator : && || !
  28.     */
  29.     return 0;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement