6kittylog
close
프로필 사진

6kittylog

github: @6kitty

  • 분류 전체보기 (221)
    • security: proj (2)
      • ARM analysis (2)
    • security: study (61)
      • web: dreamhack (11)
      • Bug hunting (2)
      • pwn: dreamhack (38)
      • cryptohack (3)
      • 시큐어코딩 (5)
      • tool (2)
    • wargame (51)
      • dreamhack (18)
      • CodeEngn (2)
      • picoCTF (3)
      • Root-me (1)
      • pwnable.kr (2)
      • webhacking.kr (6)
      • ctf+ (15)
      • 아직 푸는중 (˃̣̣̥᷄ ̯ ˂̣̣̥᷅ ◦) (4)
    • SWING (51)
      • forensic (24)
      • web hacking (11)
      • reversing (12)
      • cpp study (3)
      • 우녕진 ꒰๑ᴖ o ᴖ๑꒱ (1)
    • CS (6)
      • computer (1)
      • linux (3)
      • windows (2)
    • 최신동향 (8)
      • 뉴스 스터디 (4)
      • vul (2)
      • 개인정보보호 (2)
    • coding (31)
      • 바킹독 (11)
      • baekjoon: python (4)
      • baekjoon: cpp (12)
      • CryptoZombies (2)
      • + (2)
    • 일기 (11) N
  • 홈
  • 태그
  • 방명록

[PY] 백준 10988 팰린드롬인지 확인하기

n=input() a=list(n) m=list(reversed(a)) ans=1 for i in range(len(a)): if a[i]!=m[i]: ans=0 break print(ans)

  • format_list_bulleted coding/baekjoon: python
  • · 2024. 1. 10.

[PY] 백준 3020 개똥벌레

n,h=map(int,input().split()) a=[0]*(h+1) b=[0]*(h+1) min=n count=0 for i in range(n): if i%2==0: a[int(input())]+=1 else: b[int(input())]+=1 for i in range(h-1,0,-1): a[i]+=a[i+1] b[i]+=b[i+1] for i in range(1, h+1): if min>(a[i]+b[h-i+1]): min=a[i]+b[h-i+1] count=1 elif min == (a[i]+b[h-i+1]): count+=1 print(min,count)

  • format_list_bulleted coding/baekjoon: python
  • · 2024. 1. 10.

[PY] 백준 1157 단어 공부

n=input().lower() nlist=list(set(n)) #중복 없음 cnt=[] for i in nlist: c=n.count(i) cnt.append(c) if cnt.count(max(cnt)) >1: print("?") else: print(nlist[(cnt.index(max(cnt)))].upper())

  • format_list_bulleted coding/baekjoon: python
  • · 2024. 1. 7.

[PY] 백준 25206 너의 평점은

a=['']*20 b=[0]*20 c=[0]*20 cnt=0 for i in range(20): a[i],e,f=input().split() b[i]=float(e) if f=='P': b[i]=0 continue if f=='F': c[i]=0 cnt+=1 continue list(f) c[i]=4-(ord(f[0])%65) if f[1]=='+': c[i]+=0.5 c[i]*=b[i] print(sum(c)/sum(b))

  • format_list_bulleted coding/baekjoon: python
  • · 2024. 1. 7.
  • navigate_before
  • 1
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (221)
    • security: proj (2)
      • ARM analysis (2)
    • security: study (61)
      • web: dreamhack (11)
      • Bug hunting (2)
      • pwn: dreamhack (38)
      • cryptohack (3)
      • 시큐어코딩 (5)
      • tool (2)
    • wargame (51)
      • dreamhack (18)
      • CodeEngn (2)
      • picoCTF (3)
      • Root-me (1)
      • pwnable.kr (2)
      • webhacking.kr (6)
      • ctf+ (15)
      • 아직 푸는중 (˃̣̣̥᷄ ̯ ˂̣̣̥᷅ ◦) (4)
    • SWING (51)
      • forensic (24)
      • web hacking (11)
      • reversing (12)
      • cpp study (3)
      • 우녕진 ꒰๑ᴖ o ᴖ๑꒱ (1)
    • CS (6)
      • computer (1)
      • linux (3)
      • windows (2)
    • 최신동향 (8)
      • 뉴스 스터디 (4)
      • vul (2)
      • 개인정보보호 (2)
    • coding (31)
      • 바킹독 (11)
      • baekjoon: python (4)
      • baekjoon: cpp (12)
      • CryptoZombies (2)
      • + (2)
    • 일기 (11) N
인기 글
전체 방문자
오늘
어제
Copyright © 육키티 모든 권리 보유.
SKIN: Copyright © 쭈미로운 생활 All rights reserved. Designed by JJuum.
and Current skin "dev-roo" is modified by Jin.

티스토리툴바