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

31654번 - Adding Trouble 다국어

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

문제

Your friend Bob is really bad at adding numbers, and he’d like some help to make sure he’s doing it correctly! Can you help Bob make sure he is adding correctly? Given 3 integers $A,ドル $B,ドル $C,ドル make sure that $A + B = C,ドル and that Bob indeed added $A$ and $B$ correctly.

입력

The input consists of a single line with 3 integers $A, B, C$ where $-10^9 \le A, B, C \le 10^9$.

출력

Output either correct! if $A + B = C,ドル or wrong! if $A + B \ne C$.

제한

예제 입력 1

2 3 5

예제 출력 1

correct!

예제 입력 2

1 1 3

예제 출력 2

wrong!

예제 입력 3

-1 1 0

예제 출력 3

correct!

힌트

출처

University > University of Alberta Programming Contest > UAPC 2023 > Division 2 A번

  • 문제를 만든 사람: Noah Gergel
(追記) (追記ここまで)

출처

대학교 대회

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

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