2.3.1.Divisor and Multiple
Definition ex 4|12, 4$\mid$(-12), 3 $\nmid$ 10 Properties of a|b pf 정리 $ \mid $ 기호 $ a\mid b $ 성질 마지막 선형결합을 나누는 성질은 중요하게 쓰인다
Definition ex 4|12, 4$\mid$(-12), 3 $\nmid$ 10 Properties of a|b pf 정리 $ \mid $ 기호 $ a\mid b $ 성질 마지막 선형결합을 나누는 성질은 중요하게 쓰인다
Theorem 2.1. Division Algorithm pf Corollary ex Let a=61 and b=-7 then 61 = (-8)(-7) + 5, hence q = -8 and r = 5 Division Algorithm 에서 나오는 even, odd number 모든 정수는 이 둘중 하나로 표현이 된다는 것 e...
David M.Burton - Seventh Edition Theorem 1.1. Well-Ordering Principle Well ordering axiom for $\mathbb{N}$ S : non empty subset of {0,1,2 …} $\Rightarrow$ S has the smallest element in S ($\Leftri...
앞부분 코드 def gcd(a,b): if b==0: return a return gcd(b,a%b) def extended_euclidean(a,b): if b==0: return a,1,0 gcd,x1,y1=extended_euclidean(b,a%b) x=y1 y=x1-(...
register input_data = "..." def decode_caesar_cipher(data, shift): decoded = "" for char in data: if char.isalpha(): # Shift character and wrap around alphabet ...
알고리즘 트레이닝 - 안티 라크소넨 책에서… long long #include<iostream> #include<bits/stdc++.h> using namespace std; int main(){ long long x = 123456789123456789LL; // 아래 코드는 버그가 있다 int a...
AWS workshop 3..? 대신 지난주를 보내며… 여러가지 문제가 있어서 이번주 워크샵은 끝까지 완료하지 못했다. 사실 거의 못했다. 첫번째 부분을 수행하다가 처음 워크샵때 생성했던 ec2가 남아있는걸 알게되었고, 계속 돈이 나가는걸 늦게 알아서 aws nuke 라는것으로 정리하고 그랬었다… 이번달에 돈이 얼마나 더 나가게 될지는 잘 모르겠다. ...
##
목차 classical encryption algorithms symmetric encryption - DES AES Stream cipher & modes of operations public-key encryption - RSA Diffie-Hellman & EIGamal Digital signature &...
BFS 재귀 #include <iostream> #include <bits/stdc++.h> using namespace std; int dy[4] = {1,0,-1,0}; int dx[4] = {0,1,0,-1}; int dfs(int a, int b,int c, vector<vector<pair<int,...