From 8a4ad949fa3100056e28a6a2a64e5fafe0d94636 Mon Sep 17 00:00:00 2001 From: songyc macbook Date: Mon, 9 Feb 2026 23:19:57 +0900 Subject: [PATCH] baekjoon 20260209 --- code_study/Baekjoon/c/27172.c | 36 +++++++++++++++++++++++++++++ code_study/Baekjoon/java/_2576.java | 22 ++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 code_study/Baekjoon/c/27172.c create mode 100644 code_study/Baekjoon/java/_2576.java diff --git a/code_study/Baekjoon/c/27172.c b/code_study/Baekjoon/c/27172.c new file mode 100644 index 0000000..dfec856 --- /dev/null +++ b/code_study/Baekjoon/c/27172.c @@ -0,0 +1,36 @@ +#include +#include +#include + +int score[1000001]; +bool valid[1000001]; + +int main() { + int N; + scanf("%d",&N); + int* card = (int*)malloc(sizeof(int)*N); + + for(int i=0; i