# count ← 0   // 중복 없는 숫자 개수

#     FOR i = N 부터 M 까지 반복

#         s ← i 글자  // 중복 없다고 가정

#         FOR i = 0 부터 s의 길이 - 1
#             FOR j = i + 1 부터 s의 길이 - 1
#                 IF s[i] == s[j] THEN
#                     ok ← False   // 같은 숫자 발견
#                 ENDIF
#             ENDFOR
#         ENDFOR

#         IF ok == True THEN
#             count ← count + 1
#         ENDIF

#     ENDFOR

#     count 출력

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: