收起
位运算进制转换_Administrator的博客-CSDN博客 先看以下文章了解一下https://blog.csdn.net/shichaosong/article/details/8812402上代码#include <iostream>using namespace std;int log2(int a) { int count = 0; while (1) { if (a >>= 1) count++; else break; https://blog.csdn.net/qq_41863100/article/details/120321343?spm=1001.2014.3001.5502 看这个文章 就是把输入转成十六进制就可以
报告相同问题?