From e2eefd7057e0bd9259585f5f016663ddaa544658 Mon Sep 17 00:00:00 2001 From: oncsr Date: Fri, 25 Jul 2025 10:58:31 +0900 Subject: [PATCH 1/3] =?UTF-8?q?[20250725]=20BOJ=20/=20P4=20/=20Four=20XOR?= =?UTF-8?q?=20/=20=EA=B6=8C=ED=98=81=EC=A4=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- khj20006/202507/25 BOJ P4 Four XOR.md | 107 ++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 khj20006/202507/25 BOJ P4 Four XOR.md diff --git a/khj20006/202507/25 BOJ P4 Four XOR.md b/khj20006/202507/25 BOJ P4 Four XOR.md new file mode 100644 index 00000000..97e1b062 --- /dev/null +++ b/khj20006/202507/25 BOJ P4 Four XOR.md @@ -0,0 +1,107 @@ +```java +import java.util.*; +import java.io.*; + +class IOController { + BufferedReader br; + BufferedWriter bw; + StringTokenizer st; + + public IOController() { + br = new BufferedReader(new InputStreamReader(System.in)); + bw = new BufferedWriter(new OutputStreamWriter(System.out)); + st = new StringTokenizer(""); + } + + String nextLine() throws Exception { + String line = br.readLine(); + st = new StringTokenizer(line); + return line; + } + + String nextToken() throws Exception { + while (!st.hasMoreTokens()) nextLine(); + return st.nextToken(); + } + + int nextInt() throws Exception { + return Integer.parseInt(nextToken()); + } + + long nextLong() throws Exception { + return Long.parseLong(nextToken()); + } + + double nextDouble() throws Exception { + return Double.parseDouble(nextToken()); + } + + void close() throws Exception { + bw.flush(); + bw.close(); + } + + void write(String content) throws Exception { + bw.write(content); + } + +} + +public class Main { + + static IOController io; + + // + + static int N; + static int[] a; + + public static void main(String[] args) throws Exception { + + io = new IOController(); + + init(); + solve(); + + io.close(); + + } + + static void init() throws Exception { + + N = io.nextInt(); + a = new int[N]; + for(int i=0;i= 5000) { + io.write("Yes"); + return; + } + + int[] cnt = new int[131072]; + for(int i=0;i 0) { + io.write("Yes"); + return; + } + } + + } + io.write("No"); + + } + +} +``` From 623da229a8603c380fea77002631bf726051c85e Mon Sep 17 00:00:00 2001 From: oncsr Date: Fri, 25 Jul 2025 11:02:50 +0900 Subject: [PATCH 2/3] Delete khj20006/202507/25 BOJ P4 Four XOR.md --- khj20006/202507/25 BOJ P4 Four XOR.md | 107 -------------------------- 1 file changed, 107 deletions(-) delete mode 100644 khj20006/202507/25 BOJ P4 Four XOR.md diff --git a/khj20006/202507/25 BOJ P4 Four XOR.md b/khj20006/202507/25 BOJ P4 Four XOR.md deleted file mode 100644 index 97e1b062..00000000 --- a/khj20006/202507/25 BOJ P4 Four XOR.md +++ /dev/null @@ -1,107 +0,0 @@ -```java -import java.util.*; -import java.io.*; - -class IOController { - BufferedReader br; - BufferedWriter bw; - StringTokenizer st; - - public IOController() { - br = new BufferedReader(new InputStreamReader(System.in)); - bw = new BufferedWriter(new OutputStreamWriter(System.out)); - st = new StringTokenizer(""); - } - - String nextLine() throws Exception { - String line = br.readLine(); - st = new StringTokenizer(line); - return line; - } - - String nextToken() throws Exception { - while (!st.hasMoreTokens()) nextLine(); - return st.nextToken(); - } - - int nextInt() throws Exception { - return Integer.parseInt(nextToken()); - } - - long nextLong() throws Exception { - return Long.parseLong(nextToken()); - } - - double nextDouble() throws Exception { - return Double.parseDouble(nextToken()); - } - - void close() throws Exception { - bw.flush(); - bw.close(); - } - - void write(String content) throws Exception { - bw.write(content); - } - -} - -public class Main { - - static IOController io; - - // - - static int N; - static int[] a; - - public static void main(String[] args) throws Exception { - - io = new IOController(); - - init(); - solve(); - - io.close(); - - } - - static void init() throws Exception { - - N = io.nextInt(); - a = new int[N]; - for(int i=0;i= 5000) { - io.write("Yes"); - return; - } - - int[] cnt = new int[131072]; - for(int i=0;i 0) { - io.write("Yes"); - return; - } - } - - } - io.write("No"); - - } - -} -``` From b1a809cace94e0e88f01bbd7e1b97d88583e79c8 Mon Sep 17 00:00:00 2001 From: oncsr Date: Fri, 25 Jul 2025 11:03:13 +0900 Subject: [PATCH 3/3] =?UTF-8?q?[20250725]=20BOJ=20/=20P4=20/=20Four=20XOR?= =?UTF-8?q?=20/=20=EA=B6=8C=ED=98=81=EC=A4=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- khj20006/202507/25 BOJ P4 Four XOR.md | 98 +++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 khj20006/202507/25 BOJ P4 Four XOR.md diff --git a/khj20006/202507/25 BOJ P4 Four XOR.md b/khj20006/202507/25 BOJ P4 Four XOR.md new file mode 100644 index 00000000..2569b7fe --- /dev/null +++ b/khj20006/202507/25 BOJ P4 Four XOR.md @@ -0,0 +1,98 @@ +```java +import java.util.*; +import java.io.*; + +class IOController { + BufferedReader br; + BufferedWriter bw; + StringTokenizer st; + + public IOController() { + br = new BufferedReader(new InputStreamReader(System.in)); + bw = new BufferedWriter(new OutputStreamWriter(System.out)); + st = new StringTokenizer(""); + } + + String nextLine() throws Exception { + String line = br.readLine(); + st = new StringTokenizer(line); + return line; + } + + String nextToken() throws Exception { + while (!st.hasMoreTokens()) nextLine(); + return st.nextToken(); + } + + int nextInt() throws Exception { + return Integer.parseInt(nextToken()); + } + + long nextLong() throws Exception { + return Long.parseLong(nextToken()); + } + + double nextDouble() throws Exception { + return Double.parseDouble(nextToken()); + } + + void close() throws Exception { + bw.flush(); + bw.close(); + } + + void write(String content) throws Exception { + bw.write(content); + } + +} + +public class Main { + + static IOController io; + + // + + static int N; + static int[] a; + + public static void main(String[] args) throws Exception { + + io = new IOController(); + + init(); + solve(); + + io.close(); + + } + + static void init() throws Exception { + + N = io.nextInt(); + a = new int[N]; + for(int i=0;i= 5000) { + io.write("Yes"); + return; + } + + boolean[] cnt = new boolean[131072]; + for(int i=0;i