Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- RVO
- const
- Programmers
- 줄 세우기
- 팰린드롬 만들기
- Effective C++
- UE5
- RootMotion
- NRVO
- softeer
- Unreal Engine5
- IFileDialog
- GeeksForGeeks
- directx
- TObjectPtr
- 오블완
- 2294
- baekjoon
- algorithm
- UnrealEngine4
- C
- DirectX11
- winapi
- UnrealEngine5
- 티스토리챌린지
- 1563
- 언리얼엔진5
- C++
- 프로그래머스
- 백준
Archives
- Today
- Total
목록MOD (1)
Game Develop
나머지연산 공식.
(A + B) % p = ((A % p) + (B % p)) % p (A * B) % p = ((A % p) * (B % p)) % p (A - B) % p = ((A % p) - (B % p) + p) % p (A / B) % p = (A * B^(p-2)) % p = ((A % p) * (B^(p-2) % p)) % p a^b => a^(b/2) * a^(b/2) // b가 짝수일 경우. a^b => a^(b/2) * a^(b/2) * a // b가 홀수인 경우.
Algorithm/Algorithm
2022. 12. 4. 23:28