Skip to content

Commit c65d917

Browse files
committed
fix: typst 0.12 issues
1 parent 06f1b79 commit c65d917

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed

slides/slides-pt.typ

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Blank space can be filled with vertical spaces like #v(1fr).
2828
#align(horizon + center)[#image("images/cc-zero.svg", width: 80%)]
2929

3030
== Links
31+
3132
#align(horizon + center)[
3233
Todos os links estão em #text(blue)[azul].
3334

@@ -40,6 +41,8 @@ Blank space can be filled with vertical spaces like #v(1fr).
4041

4142
= Por que estudar Teoria dos Grafos e Complexidade Computacional?
4243

44+
==
45+
4346
#align(horizon + center)[#image(
4447
"images/algorithm_analysis_meme.jpg",
4548
width: 50%,
@@ -144,6 +147,8 @@ Blank space can be filled with vertical spaces like #v(1fr).
144147

145148
= Grafos
146149

150+
==
151+
147152
#align(horizon + center)[#image(
148153
"images/graph_isomorphism_meme.jpg",
149154
width: 50%,
@@ -651,6 +656,8 @@ delas), retornando à cidade de origem.
651656

652657
= Árvores
653658

659+
==
660+
654661
#align(horizon + center)[#image("images/trees_meme.jpg", width: 50%)]
655662

656663
== O que são Árvores?
@@ -839,6 +846,8 @@ e direita é no máximo 1.
839846

840847
= Interlúdio: Funções Polinomiais e Exponenciais
841848

849+
==
850+
842851
#align(horizon + center)[#image("images/polynomials_meme.jpg", width: 50%)]
843852

844853
== Funções Polinomiais
@@ -918,6 +927,8 @@ e direita é no máximo 1.
918927

919928
= Complexidade Computacional
920929

930+
==
931+
921932
#align(horizon + center)[#image("images/big_o_meme.jpg", width: 45%)]
922933

923934
== Definição
@@ -1095,6 +1106,8 @@ proposicional pode ser tornada verdadeira* por meio de uma atribuição adequada
10951106

10961107
= Identificando a Complexidade de Algoritmos
10971108

1109+
==
1110+
10981111
#align(horizon + center)[#image(
10991112
"images/recursion_joker_debugging_meme.jpg",
11001113
width: 80%,
@@ -1356,6 +1369,8 @@ proposicional pode ser tornada verdadeira* por meio de uma atribuição adequada
13561369

13571370
= Interlúdio: Analisando a Complexidade de Algoritmos com Código C
13581371

1372+
==
1373+
13591374
#align(horizon + center)[#image("images/programming_meme.jpg", width: 50%)]
13601375

13611376
#pagebreak()
@@ -1698,6 +1713,8 @@ proposicional pode ser tornada verdadeira* por meio de uma atribuição adequada
16981713

16991714
= Algoritmos de Busca
17001715

1716+
==
1717+
17011718
#align(horizon + center)[#image(
17021719
"images/search_algorithms_meme.png",
17031720
width: 100%,
@@ -2179,6 +2196,8 @@ proposicional pode ser tornada verdadeira* por meio de uma atribuição adequada
21792196

21802197
= Algoritmos de Ordenação
21812198

2199+
==
2200+
21822201
#align(horizon + center)[
21832202
#image(
21842203
"images/sorting_algorithms_meme.jpg",
@@ -3178,6 +3197,8 @@ proposicional pode ser tornada verdadeira* por meio de uma atribuição adequada
31783197

31793198
= Recursão
31803199

3200+
==
3201+
31813202
#align(horizon + center)[
31823203
#image(
31833204
"images/recursion_meme.jpg",
@@ -3228,6 +3249,16 @@ proposicional pode ser tornada verdadeira* por meio de uma atribuição adequada
32283249
return n * fatorial(n - 1);
32293250
}
32303251
```
3252+
3253+
#pagebreak()
3254+
3255+
- *Bonus: Implementação em Haskell*:
3256+
3257+
```haskell
3258+
fatorial :: Int -> Int
3259+
fatorial 0 = 1
3260+
fatorial n = n * fatorial (n - 1)
3261+
```
32313262
]
32323263

32333264
== Visualização da Recursão do Fatorial
@@ -3408,6 +3439,8 @@ proposicional pode ser tornada verdadeira* por meio de uma atribuição adequada
34083439

34093440
= Divisão e Conquista
34103441

3442+
==
3443+
34113444
#align(horizon + center)[
34123445
#image(
34133446
"images/divide_and_conquer_meme.png",

slides/slides.typ

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ Blank space can be filled with vertical spaces like #v(1fr).
4040

4141
= Why study Graph Theory and Computational Complexity?
4242

43+
==
44+
4345
#align(horizon + center)[#image(
4446
"images/algorithm_analysis_meme.jpg",
4547
width: 50%,
@@ -143,6 +145,8 @@ Blank space can be filled with vertical spaces like #v(1fr).
143145

144146
= Graphs
145147

148+
==
149+
146150
#align(horizon + center)[#image(
147151
"images/graph_isomorphism_meme.jpg",
148152
width: 50%,
@@ -647,6 +651,8 @@ returning to the starting city.
647651

648652
= Trees
649653

654+
==
655+
650656
#align(horizon + center)[#image("images/trees_meme.jpg", width: 50%)]
651657

652658
== What are Trees?
@@ -835,6 +841,8 @@ subtrees is at most 1.
835841

836842
= Interlude: Polynomial and Exponential Functions
837843

844+
==
845+
838846
#align(horizon + center)[#image("images/polynomials_meme.jpg", width: 50%)]
839847

840848
== Polynomial Functions
@@ -915,6 +923,8 @@ subtrees is at most 1.
915923

916924
= Computational Complexity
917925

926+
==
927+
918928
#align(horizon + center)[#image("images/big_o_meme.jpg", width: 45%)]
919929

920930
== Definition
@@ -1092,6 +1102,8 @@ subtrees is at most 1.
10921102

10931103
= Identifying Algorithm Complexity
10941104

1105+
==
1106+
10951107
#align(horizon + center)[#image(
10961108
"images/recursion_joker_debugging_meme.jpg",
10971109
width: 80%,
@@ -1353,6 +1365,8 @@ subtrees is at most 1.
13531365

13541366
= Interlude: Analyzing Algorithm Complexity using C Code
13551367

1368+
==
1369+
13561370
#align(horizon + center)[#image("images/programming_meme.jpg", width: 50%)]
13571371

13581372
#pagebreak()
@@ -1692,6 +1706,8 @@ subtrees is at most 1.
16921706

16931707
= Search Algorithms
16941708

1709+
==
1710+
16951711
#align(horizon + center)[#image(
16961712
"images/search_algorithms_meme.png",
16971713
width: 100%,
@@ -2159,6 +2175,8 @@ subtrees is at most 1.
21592175

21602176
= Sorting Algorithms
21612177

2178+
==
2179+
21622180
#align(horizon + center)[
21632181
#image(
21642182
"images/sorting_algorithms_meme.jpg",
@@ -3157,6 +3175,8 @@ subtrees is at most 1.
31573175

31583176
= Recursion
31593177

3178+
==
3179+
31603180
#align(horizon + center)[
31613181
#image(
31623182
"images/recursion_meme.jpg",
@@ -3207,6 +3227,16 @@ subtrees is at most 1.
32073227
return n * factorial(n - 1);
32083228
}
32093229
```
3230+
3231+
#pagebreak()
3232+
3233+
- *Bonus: Implementation in Haskell*:
3234+
3235+
```haskell
3236+
fatorial :: Int -> Int
3237+
fatorial 0 = 1
3238+
fatorial n = n * fatorial (n - 1)
3239+
```
32103240
]
32113241

32123242
== Visualization of Factorial Recursion
@@ -3385,6 +3415,8 @@ subtrees is at most 1.
33853415

33863416
= Divide and Conquer
33873417

3418+
==
3419+
33883420
#align(horizon + center)[
33893421
#image(
33903422
"images/divide_and_conquer_meme.png",

0 commit comments

Comments
 (0)