leetcode-504 十进制转七进制
//测试:100--->202 -7---->-10 string convertToBase7(int num) { int res=0; string s; if(num<0){ s="-"; } int n=abs(num); vector<int> v; while(n!=0){ in...