[백준] 14656번 : 조교는 새디스트야!! - Python(파이썬)

강재원·2022년 10월 1일
0

[코딩테스트] Python

목록 보기
83/200



https://www.acmicpc.net/problem/14656

n=int(input())
count=0
a=list(map(int,input().split()))
for i in range(n): 
    if a[i]!=i+1: count+=1
print(count)
profile
개념정리 & 문법 정리 & 알고리즘 공부

0개의 댓글