Skip to content

Commit

Permalink
[goormlevel] Title: 숫자 제거 배열, Time: 0.03 ms, Memory: 13.67 MB, Diffic…
Browse files Browse the repository at this point in the history
…ulty: 1 -BaekjoonHub
  • Loading branch information
boyamie committed Jul 2, 2024
1 parent 9fbbb34 commit 5f5ebba
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
12 changes: 12 additions & 0 deletions goormlevel/174805/1. 숫자 제거 배열/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 숫자 제거 배열 - 174805/1

[문제 링크](https://level.goorm.io/exam/174805/%EC%88%AB%EC%9E%90-%EC%A0%9C%EA%B1%B0-%EB%B0%B0%EC%97%B4/quiz/1)

### 성능 요약

메모리: 13.67 MB, 시간: 0.03 ms

### 제출 일자

2024년 07월 02일 13:05:41

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# -*- coding: utf-8 -*-
# UTF-8 encoding when using korean
import sys
input = sys.stdin.readline
answer = []
n, k = input().split()
lst = list(input().split())
for i in lst:
if k not in i:
answer.append(i)

lng = len(answer)
print(lng)

0 comments on commit 5f5ebba

Please sign in to comment.