Skip to content

Commit

Permalink
page35
Browse files Browse the repository at this point in the history
  • Loading branch information
qwe795138426 committed Feb 13, 2021
1 parent 0f56b1b commit 0b24289
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
Binary file added page35/page35
Binary file not shown.
Binary file added page35/page35.hi
Binary file not shown.
14 changes: 14 additions & 0 deletions page35/page35.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
main = do
print "m"
m <- getLine
let m_1 = read m
print "n"
n <- getLine
let n_1 = read n
let answer = rangzhuan m_1 n_1
print answer


rangzhuan m n
|n /= 0 = rangzhuan n (rem m n)
|n == 0 = m
Binary file added page35/page35.o
Binary file not shown.

0 comments on commit 0b24289

Please sign in to comment.