I downloaded data from AVATAR/data/data.zip and also using script AVATAR/data/download.sh, and it seems that a lot of python functions in the dataset miss new_lines and indentation. For example CodeForces/421/A/solution1.py:
n, a, b = map(int, input().split())athur = map(int, input().split())alex = map(int, input().split()) total = [1] * n for i in alex: total[i-1] = 2 print(*total)
or CodeForces/981/A/solution1.py:
s=input()c=len(s)for i in range(len(s)-1,0,-1): k=s[0:i+1] if(k!=k[::-1]): print(c) exit() c-=1if(c==1): print("0")
According to my simple heuristic calculation, about 50% of python functions look like this.
Is there way to fix it? Thanks in advance for your help!
Hi!
I downloaded data from AVATAR/data/data.zip and also using script AVATAR/data/download.sh, and it seems that a lot of python functions in the dataset miss new_lines and indentation. For example
CodeForces/421/A/solution1.py
:or
CodeForces/981/A/solution1.py
:According to my simple heuristic calculation, about 50% of python functions look like this.
Is there way to fix it? Thanks in advance for your help!