79357609

Date: 2025-01-15 09:14:58
Score: 1.5
Natty:
Report link
import random

k=int(input())
c=int(input())

b=[]
for e in range(c):
    b.append(int(input())

q=[]
while true::
    q.append(b[random.randint(1,len(b)])
    if sum(q)==k:
        break
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Pin Side