









































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Various algorithms and code snippets related to long division and finding the greatest common divisor. Topics covered include quotient calculation, finding the maximum number in a sequence, and using the sieve of eratosthenes to find prime numbers.
Typology: Slides
1 / 81
This page cannot be seen from the preview
Don't miss anything!










































































n
m
n
m
35
12
35
12
Z:
def chess(board): while game_on: internal_board = scan(board) move = choose(internal_board) play(move, board)
freqs = [0] * 13
for i in range(6): for j in range(6): tot = dice[i][j] freqs[tot] += 1