From 58e517ee0d1119f3d8f925f3de028b3d93e97ba7 Mon Sep 17 00:00:00 2001 From: suyeun84 <81475092+suyeun84@users.noreply.github.com> Date: Sun, 21 Sep 2025 23:19:32 +0900 Subject: [PATCH] =?UTF-8?q?[20250921]=20PGM=20/=20LV3=20/=20=EB=8B=A4?= =?UTF-8?q?=EB=8B=A8=EA=B3=84=20=EC=B9=AB=EC=86=94=20=ED=8C=90=EB=A7=A4=20?= =?UTF-8?q?/=20=EA=B9=80=EC=88=98=EC=97=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...3\354\206\224 \355\214\220\353\247\244.md" | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 "suyeun84/202509/21 PGM LV3 \353\213\244\353\213\250\352\263\204 \354\271\253\354\206\224 \355\214\220\353\247\244.md" diff --git "a/suyeun84/202509/21 PGM LV3 \353\213\244\353\213\250\352\263\204 \354\271\253\354\206\224 \355\214\220\353\247\244.md" "b/suyeun84/202509/21 PGM LV3 \353\213\244\353\213\250\352\263\204 \354\271\253\354\206\224 \355\214\220\353\247\244.md" new file mode 100644 index 00000000..e74f3f8f --- /dev/null +++ "b/suyeun84/202509/21 PGM LV3 \353\213\244\353\213\250\352\263\204 \354\271\253\354\206\224 \355\214\220\353\247\244.md" @@ -0,0 +1,38 @@ +```java +import java.util.*; +class Solution { + static Map map = new HashMap(); + static Map recommand = new HashMap(); + public int[] solution(String[] enroll, String[] referral, String[] seller, int[] amount) { + int[] count = new int[enroll.length]; + + for(int i =0; i