InnaSibirova

Модуль

Nov 8th, 2019
51
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. using namespace std;
  3. int main() {
  4. int a, i;
  5. cin >> a;
  6. i = (a >> 31);
  7. cout << ((a + i) ^ i);
  8. return 0;  
  9. }
RAW Paste Data