0_0_37816477_10847.cpp: In function 'void sol1()': 0_0_37816477_10847.cpp:38:54: error: 'j' was not declared in this scope if(f.count(ak) && f[ak] <= d[i] || s[j]==x) ans++; ^