chef and problem code-QCHEF

, ,

Plz, any one help me out
my code is
#include<stdio.h>
*.
int main()
*.
{
*.
long n,m,k,i,a[100000],L,R,ctr,ctr1=0,t,t1,pos,b,z,j,f1,f2