Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma GCC optimize("O3")
- #include <bits/stdc++.h>
- using namespace std;
- #define int long long
- #define endl '\n'
- #define fastio ios_base::sync_with_stdio(0); cin.tie(0)
- signed main()
- {
- fastio;
- /*
- int n , a , b , c;
- cin >> n;
- cout << n % 10 << '\n'; // A
- cout << (n / 10) % 10 << '\n'; // B
- cout << (n / 100) % 10 << '\n'; // C
- a = n / 100;
- b = (n / 10) % 10;
- c = n % 10;
- int sum = a + b + c;
- int pro = a * b * c;
- cout << sum << '\n'; // D
- cout << pro << '\n'; // E
- */
- int n;
- cin >> n;
- /*
- ==
- >=
- <=
- !=
- >
- <
- */
- /*
- if(n > 0)
- cout << "musbet" << '\n';
- else if(n < 0)
- cout << "menfi" << '\n';
- else
- cout << "sifir" << '\n';
- */
- /*
- if(n > 0 && n % 2 == 0)
- cout << "Yes";
- else
- cout << "No";
- */
- /*
- if(n % 3 == 0 || n % 5 == 0)
- cout << "Yes";
- else
- cout << "No";
- */
- /*
- if(n) // n != 0
- cout << "Yes";
- else
- cout << "No";
- */
- /*
- if(n % 2 != 0) // n % 2 != 0
- cout << "tek\n";
- else
- cout << "cut\n";
- */
- /*
- if(n > 0 || (n < 0 && n % 2))
- cout << "Yes";
- else
- cout << "No";
- 1 0 1 0
- */
- // cout << (n % 2 ? "tek" : "cut") << '\n';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement