https://github.com/Dev-Guccin
Guccin
https://github.com/Dev-Guccin
전체 방문자
오늘
어제
  • 분류 전체보기 (172)
    • 알고리즘 (140)
    • 삽질방지 (13)
    • SystemHacking (1)
    • 일상 (4)
    • 개발 (8)
    • 스프링 부트 REST API 개발일지 (5)
    • JPA (1)

블로그 메뉴

  • 홈
  • 태그
  • 방명록

공지사항

인기 글

태그

  • 다이나믹 프로그래밍
  • 그리디
  • DP
  • 이분탐색
  • 파이썬
  • 최소힙
  • 다익스트라
  • counter
  • 재귀
  • heapq
  • 그래프
  • 백트래킹
  • DFS
  • 프로그래머스
  • BFS
  • LIS
  • 최단경로
  • 백준
  • 이분 탐색
  • 12015
  • 최대공약수
  • 유니온 파인드
  • 유클리드호제법
  • 스택
  • 다이나믹프로그래밍
  • 재귀함수
  • python3
  • Python
  • 큐
  • MST

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
https://github.com/Dev-Guccin

Guccin

삽질방지

파이썬 재귀 제한 풀기

2022. 2. 16. 20:03
import sys
sys.setrecursionlimit(10 ** 6)

sys 모듈에서 setrecursionlimit함수 인자로 원하는 재귀횟수 만큼 풀어주면된다.

주로 DFS나 BFS문제를 풀때 사용 한다.

저작자표시 (새창열림)

'삽질방지' 카테고리의 다른 글

spring builder 오류 (error: cannot find symbol final .......)  (0) 2022.03.03
[python3] binary string to integer, integer to binary string  (0) 2022.02.17
정규표현식  (0) 2021.09.02
[c++] ios::sync_with_stdio(0), cin.tie(0) 는 왜 쓰는 걸까?  (0) 2021.07.19
[c++] \n 와 endl 중에는 \n가 더 빠르다.  (0) 2021.07.19
    '삽질방지' 카테고리의 다른 글
    • spring builder 오류 (error: cannot find symbol final .......)
    • [python3] binary string to integer, integer to binary string
    • 정규표현식
    • [c++] ios::sync_with_stdio(0), cin.tie(0) 는 왜 쓰는 걸까?
    https://github.com/Dev-Guccin
    https://github.com/Dev-Guccin
    https://github.com/Dev-Guccin

    티스토리툴바