1 21

AtCoder
IDabc086_b
Time2000ms
Memory256MB
Difficulty
AtCoDeer the deer has found two positive integers, $a$ and $b$. Determine whether the concatenation of $a$ and $b$ in this order is a square number. ## Constraints * $1$ $≤$ $a,b$ $≤$ $100$ * $a$ and $b$ are integers. ## Input Input is given from Standard Input in the following format: $a$ $b$ [samples]
Samples
Input #1
1 21
Output #1
Yes

As $121$ $=$ $11$ × $11$, it is a square number.
Input #2
100 100
Output #2
No

$100100$ is not a square number.
Input #3
12 10
Output #3
No
API Response (JSON)
{
  "problem": {
    "name": "1 21",
    "description": {
      "content": "AtCoDeer the deer has found two positive integers, $a$ and $b$. Determine whether the concatenation of $a$ and $b$ in this order is a square number.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc086_b"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "AtCoDeer the deer has found two positive integers, $a$ and $b$. Determine whether the concatenation of $a$ and $b$ in this order is a square number.\n\n## Constraints\n\n*   $1$ $≤$ $a,b$ $≤$ $100$\n*   $a...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments