79357522

Date: 2025-01-15 08:39:47
Score: 1.5
Natty:
Report link

n=int(input)

t=int(input()

p=[]

for m in range(t):

p.append(int(input())

s=[]

while true:

s.append(p[random.randint(1,len(p))])

if sum(s)==n:

    break
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Pin Beach