D. Touchy-Feely Palindromes

Codeforces
IDCF784D
Time2000ms
Memory64MB
Difficulty
implementation
English · Original
Chinese · Translation
Formal · Original
## Input The only line of the input contains a string of digits. The length of the string is between 1 and 10, inclusive. ## Output Output "_Yes_" or "_No_". [samples]
[{"iden":"statement","content":"输入的一行包含一个数字字符串。字符串的长度在 #cf_span[1] 和 #cf_span[10] 之间(包含端点)。\n\n请输出 \"_Yes_\" 或 \"_No_\"。\n\n"},{"iden":"input","content":"输入的一行包含一个数字字符串。字符串的长度在 #cf_span[1] 和 #cf_span[10] 之间(包含端点)。“},{"iden":"output","content":"请输出 \"_Yes_\" 或 \"_No_\"。“},{"iden":"examples","content":"输入\n373\n输出\nYes\n输入\n121\n输出\nNo\n输入\n436\n输出\nYes"}]
Let $ s $ be a string of digits with $ 1 \leq |s| \leq 10 $. Output "Yes" if [condition], otherwise "No". (Note: The condition for outputting "Yes" or "No" is not specified in the input.)
Samples
Input #1
373
Output #1
Yes
Input #2
121
Output #2
No
Input #3
436
Output #3
Yes
API Response (JSON)
{
  "problem": {
    "name": "D. Touchy-Feely Palindromes",
    "description": {
      "content": "",
      "description_type": "Markdown"
    },
    "platform": "Codeforces",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 65536
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "CF784D"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "## Input\n\nThe only line of the input contains a string of digits. The length of the string is between 1 and 10, inclusive.\n\n## Output\n\nOutput \"_Yes_\" or \"_No_\".\n\n[samples]...",
      "is_translate": false,
      "language": "English"
    },
    {
      "statement_type": "Markdown",
      "content": "[{\"iden\":\"statement\",\"content\":\"输入的一行包含一个数字字符串。字符串的长度在 #cf_span[1] 和 #cf_span[10] 之间(包含端点)。\\n\\n请输出 \\\"_Yes_\\\" 或 \\\"_No_\\\"。\\n\\n\"},{\"iden\":\"input\",\"content\":\"输入的一行包含一个数字字符串。字符串的长度在 #cf_span[1] 和 #cf_span[...",
      "is_translate": true,
      "language": "Chinese"
    },
    {
      "statement_type": "Markdown",
      "content": "Let $ s $ be a string of digits with $ 1 \\leq |s| \\leq 10 $.  \nOutput \"Yes\" if [condition], otherwise \"No\".\n\n(Note: The condition for outputting \"Yes\" or \"No\" is not specified in the input.)...",
      "is_translate": false,
      "language": "Formal"
    }
  ]
}
Full JSON Raw Segments