题解 | 缩短二进制
缩短二进制
https://www.nowcoder.com/practice/4ffcc9f206b949ddb057ee0099b34d51
#include <iostream> using namespace std; int main() { int a=1234; printf("0%o 0X%X",a,a); } // 64 位输出请用 printf("%lld")
缩短二进制
https://www.nowcoder.com/practice/4ffcc9f206b949ddb057ee0099b34d51
#include <iostream> using namespace std; int main() { int a=1234; printf("0%o 0X%X",a,a); } // 64 位输出请用 printf("%lld")
相关推荐