Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main(){
- ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
- long long x; cin >> x;
- cout << (x%10?1:0);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement