This commit is contained in:
folkert van heusden 2024-04-01 21:43:57 +02:00
parent 5cc2f218e1
commit 9df48e1be7
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

4
div.py
View file

@ -22,7 +22,7 @@ while True:
l = l[0:i]
if not l in counts:
counts[l] = [0, 0 ]
counts[l] = [0, 0]
counts[l][0] += 1
@ -36,7 +36,7 @@ while True:
l = l[0:i]
if not l in counts:
counts[l] = [0, 0 ]
counts[l] = [1, 0]
counts[l][1] += 1