About Multiplying By Rotation ¶
������ ������������ 곱������ ��������� ������������. ������경������������ ������결과�� ��������� ��������� ��������� ���기��� ����� ��������� ������ ��� ������.
{{| 179487 * 4 = 717948 |}}
������ ��������� ��������� ������������ ������계��� ������ ���������. ������ ��������������� 10��������� ������������. 9��������������� ������ ������과 �����.
{{|
17 * 4 = 71(base 9)
(9 * 1 + 7) * 4 = 7 * 9 + 1
|}}
��������� ������ ��������� 10�������� ���������..!!!
{{|
17 * 4 = 71(base 9)
(9 * 1 + 7) * 4 = 7 * 9 + 1
|}}
��������� ���������������������. ������,��������� ��������� ��������� ������(the least significant digit of the first factor)��� ��������� ������(second factor)��� 구������ 3개��� �������� ��������� ������������. 각 ��������� 공��������� 구���������. ��������� ��������� ������ ������������ ������ ������������. ��������������� EOF��� ���������.
������그������ ������ 곱������������ 갖��� ��������� ����� ������ ��� ������ ��������� ������ 개������ ������������.������ ��������� ������������������ ������. ������������ ������������������ ��������� 결과��� ��� ������ ������������.
Input ¶
10 7 4
9 7 4
17 14 12
9 7 4
17 14 12
output ¶
6
2
4
2
4
������ ¶
��������� | ������������ | 개������간 | ������ |
�������� | c++ | ? | MultiplyingByRotation/�������� |
��������� | c++ | ? | MultiplyingByRotation/��������� |
곽������ | c++ | ? | MultiplyingByRotation/곽������ |