0_0_36436912_17441.cpp: In function 'int main()': 0_0_36436912_17441.cpp:33:12: error: 'j' was not declared in this scope else if(j>a[i]+k) {} ^