🚨 Found a Bug on LeetCode Platform! 🚨
Hey LeetCode community,I encountered a strange issue while solving Problem 3226: Number of Bit Changes to Make Two Integers Equal (Problem Link).Here’s the situ

## Hey LeetCode community,  

I encountered a strange issue while solving **Problem 3226: Number of Bit Changes to Make Two Integers Equal** ([Problem Link](https://leetcode.com/problems/number-of-bit-changes-to-make-two-integers-equal/)).  

Here’s the situation:  
- When I **run the code**, the output is **correct** and matches the expected results. ✅  
- However, when I **submit the code**, it throws an error or fails on certain test cases. ❌  

Here’s the code I used:  

```cpp
class Solution {
public:
    int minChanges(int n, int k) {
        string ns;
        int temp = n;
        while (temp) {
            ns += to_string(temp % 2);
            temp /= 2;
        }
        string ks;
        temp = k;
        while (temp) {
            ks += to_string(temp % 2);
            temp /= 2;
        }
        if (ns.length() < ks.length()) return -1;
        int ans = 0;
        for (int i = 0; i < ns.length(); i++) {
            if (ns[i] == '1' && (i >= ks.length() || ks[i] == '0')) ans++;
            else if (ns[i] == '0' && ks[i] == '1') return -1;
        }
        return ans;
    }
};
```  

### Steps to Reproduce:  
1. Copy-paste the above code into the solution editor for the problem.  
2. **Run the code** – it works as expected and produces correct outputs.  
3. **Submit the code** – it fails on some test cases unexpectedly.  

It seems like there’s a discrepancy between how test cases are being handled during runtime and during submission.  

I’d encourage others to try this out and see if the same issue arises. If enough of us report it, the LeetCode team can investigate and resolve it.  

Tagging LeetCode support for visibility: @LeetCode @LeetCodeAdmin  

Let’s work together to make the platform better! 😊  

['Bit Manipulation', 'C++']