func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int y, a, b, c, d, temp;     while (cin >> y) {       temp = y + 1;       while (temp != 0) {         a = temp % 10;         b = (temp % 100) / 10;         c = (temp % 1000) / 100;         d = temp / 1000;         if (a == b || b == c || c == d || d == a || d == b || a == c)           temp++;         else           break;       }       cout << temp << endl;     }     return 0;   }   