You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bradendubois edited this page Nov 8, 2021
·
10 revisions
ABC
ID: abc
Difficulty: 2.0
CPU Time: 1 second
Memory: 1024 MB
Solution
Take in the 3 numbers and sort them in ascending order, then take in the string denoting the order. Going through the string, if the value is A, output the smallest number, B is the middle, and C is the largest number.