Regular Triangle

AtCoder
IDexawizards2019_a
Time2000ms
Memory256MB
Difficulty
You are given three integers $A, B$ and $C$. Determine if there exists an equilateral triangle whose sides have lengths $A, B$ and $C$. ## Constraints * All values in input are integers. * $1 \leq A,B,C \leq 100$ ## Input Input is given from Standard Input in the following format: $A$ $B$ $C$ [samples]
Samples
Input #1
2 2 2
Output #1
Yes

*   There exists an equilateral triangle whose sides have lengths $2, 2$ and $2$.
Input #2
3 4 5
Output #2
No

*   There is no equilateral triangle whose sides have lengths $3, 4$ and $5$.
API Response (JSON)
{
  "problem": {
    "name": "Regular Triangle",
    "description": {
      "content": "You are given three integers $A, B$ and $C$. Determine if there exists an equilateral triangle whose sides have lengths $A, B$ and $C$.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "exawizards2019_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "You are given three integers $A, B$ and $C$.\nDetermine if there exists an equilateral triangle whose sides have lengths $A, B$ and $C$.\n\n## Constraints\n\n*   All values in input are integers.\n*   $1 \\l...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments