摘要:
如输入:3 》》》二进制101 所以 输出 》》》2 #include<iostream> #include<string> using namespace std; void count_byte(unsigned int x) { unsigned int tmp = 1; int countx 阅读全文
摘要:
#include<iostream> using namespace std; void shiftone(string &s, int m) { while (m--) { char t = s[0]; int len = s.size(); for (int i = 1; i < len; ++ 阅读全文