79466647

Date: 2025-02-25 13:04:32
Score: 1
Natty:
Report link
c=[]
for q in range(int(input())):
   try:
       v=input()
       assert type(v)==int
       c.append(v)
   except:
       c.append(6)
d=[]
for m in c:
    d.append([m,c.count(m)+1])

6 is appended as the error if it's not an integer. It chooses how many elements the list has.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nation