0_0_37762442_3815.cpp: In function 'void solve()': 0_0_37762442_3815.cpp:69:17: error: 'd' was not declared in this scope r+=t[i]+d[i]-1; ^