-
Notifications
You must be signed in to change notification settings - Fork 0
/
task.html
18 lines (18 loc) · 1.25 KB
/
task.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<b>Index of synthesis</b> <a class=right href="https://hyperskill.org/learn/step/6533">Open on JetBrains Academy</a>
<br><br>
<html>
<head></head>
<body>
<p>One way to classify the languages of the world is by looking at their morphological systems. One classification is based on the <strong>index of synthesis </strong>that reflects an average number of morphemes in a word. The values vary between 1 and 4 and there are 3 types of languages according to that system. Here are they:</p>
<p><strong>Type — Index</strong></p>
<p>Analytic — less than 2</p>
<p>Synthetic — from 2 to 3 (inclusively)</p>
<p>Polysynthetic — more than 3</p>
<p>Write a program that given the index of synthesis determines the type of the language.</p>
<p><strong>The input format:</strong></p>
<p>The value of the index of synthesis.</p>
<p><strong>The output format:</strong></p>
<p>The type of language.</p>
</body>
</html><br><b>Sample Input:</b><br>2.35<br><b>Sample Output:</b><br>Synthetic<br><br><b>Sample Input:</b><br>1.68<br><b>Sample Output:</b><br>Analytic<br><br><br><font color="gray">Memory limit: 256 MB</font><br><font color="gray">Time limit: 15 seconds</font><br><br>
<a href="https://hyperskill.org/learn/step/5926">Show topic summary</a>