Обсуждения
What is hexadecimal
3 голосов
2 ответовOctal system
2 голосов
1 ответparseInt() method
1 голос
2 ответовPI to more than 15 digits
0 голосов
6 ответовwhy is it <=36?
1 голос
2 ответов#include <iostream>
#include <bitset>
int main()
{
int myDecimalNumber;
std::cin >> myDecimalNumber;
std::string binary = std::bitset<8>(myDecimalNumber).to_string(); //to binary
std::cout<<binary<<"\n";
unsigned long decimal = std::bitset<8>(binary).to_long();
std::cout<<decimal<<"\n";
return 0;
}
2 голосов
5 ответовComo pasar de binario a decimal?
0 голосов
2 ответовHow should I solve this challenge?
4 голосов
3 ответовАктуальное сегодня
Functions in python
2 Votes
Html 5 document question
1 Votes
𝙵𝙸𝙽𝙳 𝚃𝙷𝙴 𝙸𝙽𝙿𝚄𝚃 𝙾𝙵 𝚃𝙷𝙴 𝙿𝚁𝙾𝙶𝚁𝙰𝙼
1 Votes
Is this realistic enough?
1 Votes
Python
0 Votes
Need friends
0 Votes
Python
0 Votes