#include int main() { unsigned char input = cin.get(); while(false == cin.eof()) { cout << (char) (input ^ 0xff); input = cin.get(); } }