E D R , A S I H C RSS

Multiplying By Rotation

About Multiplying By Rotation

�� �������� 곱�� ����������. ��경�������� ����결과� ���� ������ ���� ��기�� ��� ���� �� �� ����.

{{| 179487 * 4 = 717948 |}}

���� ������ ������ ���� ���� ����. ���� ���������� 10������ ��������. 9���������� ���� ����과 ���.
{{|
17 * 4 = 71(base 9)
(9 * 1 + 7) * 4 = 7 * 9 + 1
|}}

������ �� ������ 10����� ����..!!!

���� ������������. ����,������ ������ ���� ����(the least significant digit of the first factor) ������ ����(second factor)�� 구���� 3개�� ����� ���� ��������. 각 ������ 공������ 구������. ������ ������ �� ������ �� ������. �������� EOF�� ������.

����그�� �������� 갖�� ������ ��� �� �� ���� ������ ���� 개���� ������.���� ������ ������������ ��. �������� ���������� ���� 결과�� ���� ������.

Input

10 7 4
9 7 4
17 14 12

output

6
2
4


������ ������ ����간 ����
���� c++ ? MultiplyingByRotation/�����
���� c++ ? MultiplyingByRotation/����
�� c++ ? MultiplyingByRotation/곽��

������

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:23:49
Processing time 0.0272 sec