1. ¼±ÅÃÁ¤·Ä 1,2
1-1. ¼±ÅÃÁ¤·Ä 1
(input)
5
15 10 40 23 11
(output)
10 11 15 23 40
1-2. ¼±ÅÃÁ¤·Ä 2
(input)
5
15 10 40 23 11
(output)
10 11 15 23 40
2. ¹öºíÁ¤·Ä
(input)
5
15 10 40 23 11
(output)
10 11 15 23 40
3. »ðÀÔÁ¤·Ä
(input)
5
15 10 40 23 11
(output)
10 11 15 23 40
4. ¼øÀ§ ±¸Çϱâ
(input)
5
15 10 40 23 11
(output)
10 11 15 23 40
5. index sort
(input)
5
15 10 40 23 11
(output)
10 11 15 23 40
6. merge sort
(input)
5
10 11 15 23 40
6
1 2 12 15 24 45
(output)
1 2 10 11 12 15 15 23 24 40 45
7. Å« ¼ö * Å« ¼ö
(input)
25 25
(output)
625
8. 2ÀÇ n½Â ±¸Çϱâ
(input)
6
(output)
64
9. ±³ÁýÇÕ & ÇÕÁýÇÕ
(input)
5
10 11 15 23 40
6
1 2 12 15 24 45
(output)
aub={1 2 10 11 12 15 23 24 40 45}
anb={15}
10. 1 ~ n ¼Ò¼ö °³¼ö ±¸Çϱâ
11. ÆÄ½ºÄ® »ï°¢Çü
(input)
4
(ouput)
|