first commit
This commit is contained in:
10
p29/solution.jl
Normal file
10
p29/solution.jl
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
function solution(a, b)
|
||||
S = Set{BigInt}()
|
||||
for i ∈ 2:a
|
||||
for j ∈ 2:b
|
||||
push!(S, BigInt(i)^j)
|
||||
end
|
||||
end
|
||||
return length(S)
|
||||
end
|
||||
Reference in New Issue
Block a user