본문 바로가기

euphoriaO-O

검색하기
euphoriaO-O
프로필사진 euphoria0-0

  • 분류 전체보기 (22)
    • Statistics (8)
      • Mathematical Statistics (7)
      • Regression Analysis (1)
      • Bayesian Statistics (0)
    • Machine Learning (9)
      • Pytorch (5)
      • PRML (4)
      • Causal Learning (0)
      • Gaussian Process for ML (0)
    • Programming (4)
      • Algorithm (4)
      • Data Structure (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
  • DeepLearning
  • CycleGAN
  • NeuralTalk
  • Bayes'Rule
  • 체비셰프부등식
  • TorchHub
  • 젠센부등식
  • tensor
  • 머신러닝
  • ImageCaptioning
  • DeepLearing
  • 마코프부등식
  • bayesian
  • bayes
  • AlexNet
  • Python
  • GAN
  • MachineLearning
  • ResNet
  • SWEA #Python #알고리즘
  • pytorch
  • PRML
  • Bayes'Theorem
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록SWEA #Python #알고리즘 (1)

euphoriaO-O

[Python] SWEA 1234 비밀번호

나의 잘못된 코드: 런타임 에러 for t in range(1,11): n,s = int(input()), input() while tmp != s: tmp = s s = s.replace('00', '').replace('11', '').replace('22', '').replace('33', '').replace('44', '').replace('55', '').replace('66', '').replace('77', '').replace('88', '').replace('99', '') print('#%d %s' % (t, s)) Stack을 이용한 코드 for t in range(1,11): n,s = input().split() answer = '' for ss in s: if len(answe..

Programming/Algorithm 2020. 7. 11. 01:30
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바