first commit
from old repository to a new repository
This commit is contained in:
11
boj/14916.py
Normal file
11
boj/14916.py
Normal file
@@ -0,0 +1,11 @@
|
||||
n=int(input())
|
||||
count=0
|
||||
|
||||
while n>0 and not n%5==0:
|
||||
count+=1
|
||||
n-=2
|
||||
|
||||
if n>-1 and n%5==0:
|
||||
print((n//5)+count)
|
||||
else:
|
||||
print(-1)
|
||||
Reference in New Issue
Block a user