0_0_36190290_29544.cpp: In function 'int mg(int, int)': 0_0_36190290_29544.cpp:13:19: error: request for member 'r' in 'f[x]', which is of non-class type 'int' else d[x]=d[f[x].r]+1; ^