Skip to content

Commit

Permalink
Problema: 2903
Browse files Browse the repository at this point in the history
  • Loading branch information
lrlucena authored Dec 2, 2024
1 parent e9e146a commit 47289d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/2900/2903.poti
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mdc(a, b: Inteiro): Inteiro = se b == 0 então a senão mdc(b, a mod b) fim

n = leia_texto.selecione(_ <> '.').inteiro
resp = n * 36000 div mdc(n, 36000) div n
escreva resp

0 comments on commit 47289d2

Please sign in to comment.