1 solutions

  • 1
    @ 2025-8-25 15:49:13
    #include<bits/stdc++.h>
    using namespace std;
    int a,b;
    int main(){
    	cin>>a>>b;
    	int c=a^b;
    	bitset<32> a(c);
    	cout<<a.count();
    	return 0;
    }
    
    

    Information

    ID
    124
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    3
    Tags
    (None)
    # Submissions
    30
    Accepted
    19
    Uploaded By