Advertisement
simushin_pavel

Untitled

Dec 21st, 2020
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.17 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main(){
  4.     ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
  5.     long long x; cin >> x;
  6.     cout << (x%10?1:0);
  7.     return 0;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement