0_0_17674035_2062.cpp: In function 'void solve()': 0_0_17674035_2062.cpp:56:33: error: 'p' was not declared in this scope }(ans+=1ll*now.wt*a[p].wt%Mod*(mypow(2,cnt-2))%Mod)%=Mod; ^