From f9cf87a3709998356a5722572339eed2c711a58b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=8F=84=ED=98=84=20KimDohyun?= <202230418@pukyong.ac.kr> Date: Tue, 2 Apr 2024 23:07:50 +0900 Subject: [PATCH 1/3] =?UTF-8?q?2024-04-02=20=ED=81=AC=EB=A1=9C=EC=95=84?= =?UTF-8?q?=ED=8B=B0=EC=95=84=20=EC=95=8C=ED=8C=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\260\354\225\204 \354\225\214\355\214\214\353\262\263.py" | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 "pu2rile/\353\254\270\354\236\220\354\227\264/\355\201\254\353\241\234\354\225\204\355\213\260\354\225\204 \354\225\214\355\214\214\353\262\263.py" diff --git "a/pu2rile/\353\254\270\354\236\220\354\227\264/\355\201\254\353\241\234\354\225\204\355\213\260\354\225\204 \354\225\214\355\214\214\353\262\263.py" "b/pu2rile/\353\254\270\354\236\220\354\227\264/\355\201\254\353\241\234\354\225\204\355\213\260\354\225\204 \354\225\214\355\214\214\353\262\263.py" new file mode 100644 index 0000000..d332e70 --- /dev/null +++ "b/pu2rile/\353\254\270\354\236\220\354\227\264/\355\201\254\353\241\234\354\225\204\355\213\260\354\225\204 \354\225\214\355\214\214\353\262\263.py" @@ -0,0 +1,5 @@ +change = ['c=','c-','dz=','d-','lj','nj','s=','z='] +str = input() +for n in change: #change에서 하나씩 루프 돌며 + str = str.replace(n, 'a') #str과 같은 문자를 발견하면 해당 문자를 a으로 치환 +print(len(str)) #str의 길이 \ No newline at end of file From 28e5d833be1d9d44759dbec864dea99fe2c6c011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=8F=84=ED=98=84=20KimDohyun?= <163822282+pu2rile@users.noreply.github.com> Date: Wed, 3 Apr 2024 21:16:00 +0900 Subject: [PATCH 2/3] Update README.md --- pu2rile/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pu2rile/README.md b/pu2rile/README.md index cbf357a..4a16429 100644 --- a/pu2rile/README.md +++ b/pu2rile/README.md @@ -4,3 +4,4 @@ |:----:|:---------:|:----:|:-----:|:----:| | 1차시 | 2024.03.24 | DP | [평범한 배낭](https://www.acmicpc.net/problem/12865) | [#3](https://github.com/AlgoLeadMe/AlgoLeadMe-10/pull/3#issue-2205834078)| | 2차시 | 2024.03.29 | 구현 | [OX퀴즈](https://www.acmicpc.net/problem/8958) | [#6](https://github.com/AlgoLeadMe/AlgoLeadMe-10/pull/3#issue-2205834078)| +| 3차시 | 2024.04.02 | 문자열 | [크로아티아 알파벳](https://www.acmicpc.net/problem/2941) | [#10](https://github.com/AlgoLeadMe/AlgoLeadMe-10/pull/3#issue-2205834078)| From a23317fc6b734c30e4a2a1d076229c01a6afbc6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=8F=84=ED=98=84=20KimDohyun?= <163822282+pu2rile@users.noreply.github.com> Date: Wed, 3 Apr 2024 21:16:49 +0900 Subject: [PATCH 3/3] Update README.md --- pu2rile/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pu2rile/README.md b/pu2rile/README.md index 4a16429..7f8d963 100644 --- a/pu2rile/README.md +++ b/pu2rile/README.md @@ -4,4 +4,4 @@ |:----:|:---------:|:----:|:-----:|:----:| | 1차시 | 2024.03.24 | DP | [평범한 배낭](https://www.acmicpc.net/problem/12865) | [#3](https://github.com/AlgoLeadMe/AlgoLeadMe-10/pull/3#issue-2205834078)| | 2차시 | 2024.03.29 | 구현 | [OX퀴즈](https://www.acmicpc.net/problem/8958) | [#6](https://github.com/AlgoLeadMe/AlgoLeadMe-10/pull/3#issue-2205834078)| -| 3차시 | 2024.04.02 | 문자열 | [크로아티아 알파벳](https://www.acmicpc.net/problem/2941) | [#10](https://github.com/AlgoLeadMe/AlgoLeadMe-10/pull/3#issue-2205834078)| +| 3차시 | 2024.04.02 | 문자열 | [크로아티아 알파벳](https://www.acmicpc.net/problem/2941) | [#10](https://github.com/AlgoLeadMe/AlgoLeadMe-10/pull/10#issue-2220631332)|