| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 1024 MB | 3996 | 3308 | 3177 | 83.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$.
2 3 5
correct!
1 1 3
wrong!
-1 1 0
correct!
University > University of Alberta Programming Contest > UAPC 2023 > Division 2 A번