Not null
  • 홈
  • IT정보
  • C
  • Assemble
  • Python
  • System programing
  • Window
  • Linux
  • System
  • Web
  • Network
  • Forensic
  • 메뉴 닫기
  • 글작성
  • 방명록
  • 환경설정
    • All (102)
      • network (14)
      • ARM (2)
      • Programing (41)
        • C (3)
        • Assemble (0)
        • Python (8)
        • JavaScript (1)
        • Systemprograming (0)
        • 자료구조, Algorithm (20)
        • Web (4)
        • Git (2)
        • DataBase (1)
        • 운영, 배포, 관리 (2)
      • OS (4)
        • Window (0)
        • Linux (1)
        • theory (3)
      • etc, (3)
      • Hacking (18)
        • System technique (3)
        • Web technique (6)
        • Reversing (9)
      • wargame (11)
      • project (5)
        • android (2)
        • Automated vulnerability (0)
        • Vulnerability analysis (1)
        • Malware Analysis (0)
        • Code Virtualized (1)
      • school.study (1)
  • 홈
  • 태그
  • 방명록
wargame

python challenge - level 1

http://www.pythonchallenge.com/pc/def/map.html 12345678910111213string = "g fmnc wms bgblr rpylqjyrc gr zw fylb. rfyrq ufyr amknsrcpq ypc dmp. bmgle gr gl zw fylb gq glcddgagclr ylb rfyr'q ufw rfgq rcvr gq qm jmle. sqgle qrpgle.kyicrpylq() gq pcamkkclbcb. lmu ynnjw ml rfc spj" answer = '' for i in range(0, len(string)): if string[i] == 'y': answer += 'a' elif string[i] == 'z': answer += 'b' elif..

2019. 1. 27. 22:26
Programing/자료구조, Algorithm

programmers - 더맵게[level2] - python

12345678910111213141516import heapqdef solution(scoville, K): answer = 0 scoville.sort() scoville = [scoville[i] for i in range(0, len(scoville)) if scoville[i]

2019. 1. 26. 03:46
Programing/자료구조, Algorithm

programmers - 올바른괄호[level2] - python

123456789101112131415def solution(s): lst =[] if s.count('(') == s.count(')') and s[0] == '(' and s[-1] == ')': for i in range(0, len(s)): if s[i] == '(': lst.append('(') elif s[i] == ')': try: lst.pop() except: print('except') return False else: return False return TrueColored by Color Scriptercs

2019. 1. 26. 02:49
Programing/자료구조, Algorithm

programmers - 주식가격[level2] - python

12345678910111213def solution(prices): answer = [] for i in range(0, len(prices)-1): # (0,3) 0,1,2 for j in range(i+1, len(prices)): # 1,4 1,2,3 if prices[i] > prices[j]: answer.append(j-i) break if j == len(prices)-1: answer.append(j-i) answer.append(0) return answerColored by Color Scriptercs

2019. 1. 26. 02:47
Programing/자료구조, Algorithm

programmers - 스킬트리[level2] - python

123456789101112131415161718192021222324252627282930def solution(skill, skill_trees): answer = len(skill_trees) skill_tmp = '' skill_lst = [skill[i] for i in range(0, len(skill))] for i in range(0, len(skill_trees)): for j in range(0, len(skill_trees[i])): for k in range(0, len(skill_lst)): if skill_trees[i][j] == skill_lst[k]: skill_tmp += skill_lst[k] print(skill_tmp) if len(skill_tmp) == 0: pa..

2019. 1. 25. 20:16
Programing/자료구조, Algorithm

programmers - 탑[level2] - python

1234567891011121314def solution(heights): answer = [0] tmp = [] for i in range(len(heights)-1, 0, -1): # 역순 for j in range(i-1, -1, -1): if heights[i]

2019. 1. 24. 00:47
  • «
  • 1
  • ···
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • ···
  • 17
  • »

공지사항

전체 카테고리

  • All (102)
    • network (14)
    • ARM (2)
    • Programing (41)
      • C (3)
      • Assemble (0)
      • Python (8)
      • JavaScript (1)
      • Systemprograming (0)
      • 자료구조, Algorithm (20)
      • Web (4)
      • Git (2)
      • DataBase (1)
      • 운영, 배포, 관리 (2)
    • OS (4)
      • Window (0)
      • Linux (1)
      • theory (3)
    • etc, (3)
    • Hacking (18)
      • System technique (3)
      • Web technique (6)
      • Reversing (9)
    • wargame (11)
    • project (5)
      • android (2)
      • Automated vulnerability (0)
      • Vulnerability analysis (1)
      • Malware Analysis (0)
      • Code Virtualized (1)
    • school.study (1)
애드센스 광고 영역

블로그 인기글

Powered by Privatenote Copyright © Not null All rights reserved. TistoryWhaleSkin3.4

티스토리툴바