HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
🤎
프론트엔드 데브코스 5기 교육생
/
🐥
김은수팀
/
🏆
13주차 : 기업 코테 딱대
/
1. 나는 친구가 적다 (small)

1. 나는 친구가 적다 (small)

고른사람
송희
URL
https://www.acmicpc.net/problem/16171
난이도
브론즈2

민수 풀이

재현 풀이

송희 풀이

const fs = require("fs"); const filePath = process.platform === "linux" ? "/dev/stdin" : "./input.txt"; const [s, k] = fs.readFileSync(filePath).toString().trim().split("\n"); let alphabetS = s.replace(/[0-9]/g, ""); alphabetS.includes(k) ? console.log(1) : console.log(0);

승민 풀이