Square Inequality

AtCoder
IDabc199_a
Time2000ms
Memory256MB
Difficulty
You are given integers $A$, $B$, and $C$. Determine whether $A^2 + B^2 < C^2$ holds. ## Constraints * $0 \le A \le 1000$ * $0 \le B \le 1000$ * $0 \le C \le 1000$ * $A$, $B$, and $C$ are integers. ## Input Input is given from Standard Input in the following format: $A$ $B$ $C$ [samples]
Samples
Input #1
2 2 4
Output #1
Yes

Since $A^2 + B^2 = 2^2 + 2^2 = 8$ and $C^2 = 4^2 = 16$, we have $A^2 + B^2 < C^2$, so we should print `Yes`.
Input #2
10 10 10
Output #2
No

Since $A^2 + B^2 = 200$ and $C^2 = 100$, $A^2 + B^2 < C^2$ does not hold.
Input #3
3 4 5
Output #3
No
API Response (JSON)
{
  "problem": {
    "name": "Square Inequality",
    "description": {
      "content": "You are given integers $A$, $B$, and $C$.   Determine whether $A^2 + B^2 < C^2$ holds.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc199_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "You are given integers $A$, $B$, and $C$.  \nDetermine whether $A^2 + B^2 < C^2$ holds.\n\n## Constraints\n\n*   $0 \\le A \\le 1000$\n*   $0 \\le B \\le 1000$\n*   $0 \\le C \\le 1000$\n*   $A$, $B$, and $C$ are i...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments