We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 10: Binary Numbers
Day 10: Binary Numbers
Sort by
recency
|
2800 Discussions
|
Please Login in order to post a comment
if name == 'main':
In C++:
int maxConsectiveOnes(int n){ string binary = bitset<32>(n).to_string();
}
int main() { string n_temp; getline(cin, n_temp);
}
i dont know how i got this: python