计算A/3,不用除法时间:2021-07-24 12:15:38 int DividedBy3(int A) { int p = ; for (int i = ; i <= ; i += ) p += A << i; return (-p); }