Какой самый быстрый способ делить целое число на 3?

int x = n / 3;  // <-- make this faster

// for instance

int a = n * 3; // <-- normal integer multiplication

int b = (n << 1) + n; // <-- potentially faster multiplication

Ответы на вопрос(12)

Ваш ответ на вопрос