| Name | Language | Tokens Sum | Tokens Part 1 | Tokens Part 2 | Last change | |
|---|---|---|---|---|---|---|
| 1 | Python | 10103 | 103 | - | 23 months ago |
importrerl,_,*lines=open(0)tree={top:lrfortop,*lrin(re.findall(r'[A-Z]{3}',line)forlineinlines)}s=0curr='AAA'whilenotcurr.endswith('Z'): curr=tree[curr][rl[s%len(rl.strip())]=='R'] s+=1print(s)