From af7c3c145f2a079215d945462d8e8994eabe9469 Mon Sep 17 00:00:00 2001 From: songyc macbook Date: Mon, 4 Aug 2025 23:07:18 +0900 Subject: [PATCH] 20250804 baekjoon --- code_study/Baekjoon/c/5525.c | 40 ++++++++++++++++++++++++++++++ code_study/Baekjoon/python/5525.py | 19 ++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 code_study/Baekjoon/c/5525.c create mode 100644 code_study/Baekjoon/python/5525.py diff --git a/code_study/Baekjoon/c/5525.c b/code_study/Baekjoon/c/5525.c new file mode 100644 index 0000000..1e37b5c --- /dev/null +++ b/code_study/Baekjoon/c/5525.c @@ -0,0 +1,40 @@ +#include +#include +#include + +bool isIOI(char* str, int index); + +int main(){ + int N, M; + scanf("%d %d\n",&N,&M); + + char* S = (char*)malloc(M+1); + fgets(S, M+1, stdin); + + int oiCount = 0, result = 0, i = 0; + while(i