Logo
(追記) (追記ここまで)

29941번 - Equality 스페셜 저지다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 1024 MB21151571.429%

문제

Given four integers, insert between them the signs +, -, *, or = to obtain a valid equality.

입력

The only line of input contains four integers separated by question marks (?). The integers are non-negative and no longer than four digits each.

출력

The only line of output should contain the equality where one of the question marks is replaced by the equals sign and each of the others by one of the arithmetic operations +, -, or *. If there are several possible solutions, output any one of them. If there are no solutions, output the text EI SAA.

제한

예제 입력 1

9?7?9?9

예제 출력 1

EI SAA

예제 입력 2

11?22?33?44

예제 출력 2

11=22+33-44

예제 입력 3

0?0?0?0

예제 출력 3

0+0=0+0

힌트

출처

Olympiad > Estonian Informatics Olympiad > 2018-19 > Preliminary Round 2번

(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /