func_code_string: #include <bits/stdc++.h>   using namespace std;   string decToBin(int n) {     string toret;     while (n) {       toret += char((n % 2) +  0 );       n /= 2;     }     while (toret.size() != 8) toret +=  0 ;     return toret;   }   int binToDec(string res) {     int t = 0;     int pow = 1;     for (int i = res.size() - 1; i >= 0; i--) {       t += (res[i] -  0 ) * pow;       pow *= 2;     }     return t;   }   int main() {     string in;     getline(cin, in);     int tmp = 0;     for (int i = 0; i < in.size(); i++) {       int code = (int)in[i];       string p = decToBin(code);       int t = binToDec(p);       int m = tmp - t;       while (m < 0) m += 256;       tmp = t;       cout << m % 256 << endl;     }     return 0;   }   