본문 바로가기

Problem Solving1311

[백준] 13163 닉네임에 갓 붙이기 - Implementation / Java • 문제 링크https://www.acmicpc.net/problem/13163 • 풀이 코드import java.io.BufferedReader;import java.io.BufferedWriter;import java.io.IOException;import java.io.InputStreamReader;import java.io.OutputStreamWriter;public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = n.. 2025. 10. 6.
[백준] 15814 야바위 대장 - Implementation / Java • 문제 링크https://www.acmicpc.net/problem/15814 • 풀이 코드import java.io.BufferedReader;import java.io.BufferedWriter;import java.io.IOException;import java.io.InputStreamReader;import java.io.OutputStreamWriter;public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = n.. 2025. 10. 5.
[백준] 11367 Report Card Time - Implementation / Java • 문제 링크https://www.acmicpc.net/problem/11367 • 풀이 코드import java.io.BufferedReader;import java.io.BufferedWriter;import java.io.IOException;import java.io.InputStreamReader;import java.io.OutputStreamWriter;public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = n.. 2025. 10. 4.
[백준] 27159 노 땡스! - Implementation / Java • 문제 링크https://www.acmicpc.net/problem/27159 • 풀이 코드import java.io.BufferedWriter;import java.io.IOException;import java.io.OutputStreamWriter;public class Main { public static void main(String[] args) throws IOException { BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); int n = read(), i = read(), sum = i; while (n-- > 1) { int j = r.. 2025. 10. 3.
[백준] 11319 Count Me In - Implementation / Java • 문제 링크https://www.acmicpc.net/problem/11319 • 풀이 코드import java.io.BufferedReader;import java.io.BufferedWriter;import java.io.IOException;import java.io.InputStreamReader;import java.io.OutputStreamWriter;public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = n.. 2025. 10. 2.
[백준] 11648 지속 - Implementation / Java • 문제 링크https://www.acmicpc.net/problem/11648 • 풀이 코드import java.io.BufferedWriter;import java.io.IOException;import java.io.OutputStreamWriter;public class Main { static int cnt; public static void main(String[] args) throws IOException { BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); calc(read()); bw.write(String.valueOf(cnt)); bw.f.. 2025. 10. 1.