181. Sorted Numbers

Codeforces
IDCF10269181
Time1000ms
Memory256MB
Difficulty
English · Original
Formal · Original
You like sequences of numbers that are in sorted order. You have three integers, and you want to figure out whether or not they're sorted, i.e. the first number is less than (not equal to) the second number, and the second number is less than (not equal to) the third number. The only line of input consists of three space-separated integers. If the three integers given are sorted, output "SORTED" (no quotes). Otherwise, output "UNSORTED". ## Input The only line of input consists of three space-separated integers. ## Output If the three integers given are sorted, output "SORTED" (no quotes). Otherwise, output "UNSORTED". [samples]
**Definitions** Let $ a, b, c \in \mathbb{Z} $ be three integers. **Constraints** None (input is always three integers). **Objective** Determine whether $ a < b < c $. If true, output "SORTED"; otherwise, output "UNSORTED".
API Response (JSON)
{
  "problem": {
    "name": "181. Sorted Numbers",
    "description": {
      "content": "You like sequences of numbers that are in sorted order. You have three integers, and you want to figure out whether or not they're sorted, i.e. the first number is less than (not equal to) the second ",
      "description_type": "Markdown"
    },
    "platform": "Codeforces",
    "limit": {
      "time_limit": 1000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "CF10269181"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "You like sequences of numbers that are in sorted order. You have three integers, and you want to figure out whether or not they're sorted, i.e. the first number is less than (not equal to) the second ...",
      "is_translate": false,
      "language": "English"
    },
    {
      "statement_type": "Markdown",
      "content": "**Definitions**  \nLet $ a, b, c \\in \\mathbb{Z} $ be three integers.\n\n**Constraints**  \nNone (input is always three integers).\n\n**Objective**  \nDetermine whether $ a < b < c $.  \nIf true, output \"SORTE...",
      "is_translate": false,
      "language": "Formal"
    }
  ]
}
Full JSON Raw Segments