[백준] 1003번 : 피보나치 함수
·
📚 Algorithm/백준
1003번: 피보나치 함수 각 테스트 케이스마다 0이 출력되는 횟수와 1이 출력되는 횟수를 공백으로 구분해서 출력한다. www.acmicpc.net 문제 예제 소스 코드 import java.io.*; public class Main { static int zero; static int one; static int zero_plus_one; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); int T = Integer.parseInt(br.read..
Kyle99
'1003' 태그의 글 목록