Submit solution

Points:
3

Time limit:
2.0s

Memory limit:
64M

Problem type

Allowed languages

Ada, Assembly, Awk, Brain****, C, C#, C++, COBOL, ~~CommonLisp~~, D, Dart, F#, Forth, Fortran, Go, ~~Groovy~~, Haskell, Intercal, Java, JS, Kotlin, Lisp, Lua, ~~Nim~~, ~~ObjC~~, OCaml, ~~Octave~~, Pascal, Perl, PHP, Pike, Prolog, Python, Racket, Ruby, Rust, Scala, Scheme, Sed, Swift, TCL, Text, Turing, VB, Zig

##### Canadian Computing Competition: 2014 Stage 1, Junior #1

You have trouble remembering which type of triangle is which. You write a program to help. Your program reads in three angles (in degrees).

- If all three angles are 60, output Equilateral.
- If the three angles add up to 180 and exactly two of the angles are the same, output Isosceles.
- If the three angles add up to 180 and no two angles are the same, output Scalene.
- If the three angles do not add up to 180, output Error.

#### Input Specification

The input consists of three integers, each on a separate line. Each integer will be greater than 0 and less than 180.

#### Output Specification

Exactly one of Equilateral, Isosceles, Scalene or Error will be printed on one line.

#### Sample Input 1

```
60
70
50
```

#### Output for Sample Input 1

`Scalene`

#### Sample Input 2

```
60
75
55
```

#### Output for Sample Input 2

`Error`

## Comments

This comment is hidden due to too much negative feedback. Click here to view it.

1.if you don't spell the words correctly you will get a wrong answer. 2.Don't prompt the judge or it will be wrong

Sans Like

This comment is hidden due to too much negative feedback. Click here to view it.

then your programs not correct

If your program fails test cases that over 700 users have solved, then odds are your program is

notcorrect.The sum of the the angles of a triangle is

exactly180 degrees.This comment is hidden due to too much negative feedback. Click here to view it.

This comment is hidden due to too much negative feedback. Click here to view it.