Fix: Ensure all skills are tracked as files, not submodules
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# HumanEval/24
|
||||
# Loki Mode Multi-Agent Solution
|
||||
# Attempts: 1
|
||||
# Passed: True
|
||||
|
||||
def largest_divisor(n: int) -> int:
|
||||
""" For a given number n, find the largest number that divides n evenly, smaller than n
|
||||
>>> largest_divisor(15)
|
||||
5
|
||||
"""
|
||||
for i in range(n // 2, 0, -1):
|
||||
if n % i == 0:
|
||||
return i
|
||||
return 1
|
||||
Reference in New Issue
Block a user