#843
ABC
시간 제한
1s
메모리 제한
32MB
제출
3
정답
2
맞힌 사람
2
정답 비율
66.7%
문제
You will be given three integers , and . The numbers will not be given in that exact order, but we do know that is less than and less than .
In order to make for a more pleasant viewing, we want to rearrange them in the given order.
입력
The first line contains three positive integers , and , not necessarily in that order. All three numbers will be less than or equal to .
The second line contains three uppercase letters 'A', 'B' and 'C' (with no spaces between them) representing the desired order.
출력
Output the , and in the desired order on a single line, separated by single spaces.
예제 입력 1
1 5 3
ABC
예제 출력 1
1 3 5
예제 입력 2
6 4 2
CAB
예제 출력 2
6 2 4
코드 제출
코드를 제출하려면 로그인이 필요합니다.
로그인내 제출
제출 내역이 없습니다.
맞은 사람
| # | 순위 | 사용자 | 언어 | 시간 | 메모리 | 코드 길이 | |
|---|---|---|---|---|---|---|---|
| 5908 | 🥇 | 조서현 | Python | 7ms | 8384KB | 147B | |
| 8654 | 🥈 | 고수아 | Python | 8ms | 8376KB | 181B |
난이도 투표
로그인 후 AC 받으면 투표할 수 있습니다.