0_0_17703878_24472.cpp: In function 'void Update(int, int)': 0_0_17703878_24472.cpp:26:5: error: 'd' was not declared in this scope d[x=M+x]+=v; ^