본문 바로가기

레야몬

검색하기
레야몬
프로필사진 Leyamon

  • 분류 전체보기 (194)
    • 나의 생활 (15)
      • 일기 (9)
      • 운동 (3)
    • 알고리즘 (176)
      • 백준 (161)
      • Algorithmic Problem Solving.. (13)
    • 물리 (1)
      • 고급 물리학 (1)
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
  • 이분 매칭
  • 분할 정복
  • 그래프 이론
  • BFS
  • 문자열
  • 우선순위 큐
  • DP
  • 종만북
  • 위상 정렬
  • 최대 유량
  • 그리디
  • 세그먼트 트리
  • 하얀책
  • C++언어
  • 기하학
  • c언어
  • 정수론
  • 백준
  • C++
  • 최소 공통 조상
  • 책
  • 흰책
  • 트리
  • 자료구조
  • 강한 연결 요소
  • 수학
  • 자료 구조
  • 알고리즘
  • DFS
  • 정렬
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록큰 수 연산 (1)

레야몬

[C++] 2407번 조합 - 수학, 조합론, 큰 수 연산

#include #include #include using namespace std; typedef long long ll; __uint128_t memo[101][101]; __uint128_t comb(int n, int r) { if(n> n >> r; res = comb(n, r); string a = ""; string f = to_string((ll) (res / (__uint128_t)pow(10, 15))); string s = to_string((ll) (res % (__uint128_t)pow(10, 15))); if(f=="0") a=s; else a=f+s; cout int 로 변.. blockdmask.tistory.com ※현재 고등학교 등교중인 학생입니다. 이제 알고리즘을 본격..

알고리즘/백준 2022. 9. 3. 17:11
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바