목록DSLR (1)
hara
BEAKJOON JAVA ALGORITHM #9019(DSLR)
https://www.acmicpc.net/problem/9019 import java.util.LinkedList; import java.util.Queue; import java.util.Scanner; public class a9019 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); for(int i=0; i0; p--) { System.out.print(s.charAt(p-1)); } System.out.println(); } } }
공부/알고리즘
2017. 8. 14. 14:54