I am working on a new puzzle but I struggle to write a working stub generator for it.
Input is like this :
Line1 : var1 N var2 var3 var4
Line2 to LineN+1 : varA varB varC
LineN+2 : var1 N2 var2 var3 var4
LineN+3 to LineN+3+N2 : varA varB varC
I saw several times stub parsing this kind of data but I am not able to make it work in the editor and I cannot valid my puzzle because of that.
You are redeclaring some variables here, which is not possible (e.g. var1 in line 1 and N+2).
Assuming that all data types are ints, you get the first 2 lines like this: