Please , help to solve this problem.

Правка en3, от dnazirzhanov05, 2020-06-16 07:27:50

Please , help to solve this problem

Flag

The ratio of length to width of the national flag of Kyrgyzstan is 5:3.For a given natural number K (the length or width of the flag), find its area (as a natural number or a mixed fraction with the lowest possible denominator).

Input data format :** natural number K, 2 <= K <= 100. If K <= 50, this is the width, otherwise it is the length.

Output format : a single integer or three natural numbers (the integer part, the numerator and denominator) Examples : 8 ---> 106 2 3

75 ---> 3375

Теги #flag

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
ru5 Русский dnazirzhanov05 2020-08-19 12:42:26 2
ru4 Русский dnazirzhanov05 2020-08-19 12:10:41 27
ru3 Русский dnazirzhanov05 2020-08-19 10:41:35 41
en5 Английский dnazirzhanov05 2020-07-25 12:02:47 0 Reverted to en1
ru2 Русский dnazirzhanov05 2020-07-13 12:28:36 1 Мелкая правка: 'ta format :** natur' -> 'ta format :** natur'
ru1 Русский dnazirzhanov05 2020-07-07 11:53:30 610 Первая редакция перевода на Русский
en4 Английский dnazirzhanov05 2020-06-17 11:40:31 1 Tiny change: 'is problem\n Flag' -> 'is problem.\n Flag'
en3 Английский dnazirzhanov05 2020-06-16 07:27:50 0 (published)
en2 Английский dnazirzhanov05 2020-06-15 12:30:21 1 Tiny change: 'is problem.\n Flag' -> 'is problem\n Flag' (saved to drafts)
en1 Английский dnazirzhanov05 2020-06-15 09:03:45 613 Initial revision (published)