79357476

Date: 2025-01-15 08:21:42
Score: 2
Natty:
Report link

k=int(input())

s=int(input())

j=[]

for e in range(s):

j.append(int(input())

q=[]

import random

while sum(q)<k:

q.append(j[random.randint(1,len(j)])
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Pin Beach