判断是否为两位数

Luogu
IDLGB2040
Time1000ms
Memory128MB
DifficultyP1
分支结构
判断一个正整数是否是两位数(即大于等于 $10$ 且小于等于 $99$)。 ## Input 一个正整数,不超过 $1000$。 ## Output 一行。若该正整数是两位数,输出 $1$,否则输出 $0$。 [samples]
Samples
Input #1
54
Output #1
1
API Response (JSON)
{
  "problem": {
    "name": "判断是否为两位数",
    "description": {
      "content": "判断一个正整数是否是两位数(即大于等于 $10$ 且小于等于 $99$)。",
      "description_type": "Markdown"
    },
    "platform": "Luogu",
    "limit": {
      "time_limit": 1000,
      "memory_limit": 131072
    },
    "difficulty": {
      "LuoguStyle": "P1"
    },
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "LGB2040"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "判断一个正整数是否是两位数(即大于等于 $10$ 且小于等于 $99$)。\n\n## Input\n\n一个正整数,不超过 $1000$。\n\n## Output\n\n一行。若该正整数是两位数,输出 $1$,否则输出 $0$。\n\n[samples]...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments