THERE IS NO OUTPUT COMING WHEN I AM SUBMITTING THIS CODE. NOTHING IS COMING AS OUTPUT WHEN I AM SUBMITTING THIS CODE AFTER PRESSING SUBMIT BUTTON.
#include<bits/stdc++.h>
using namespace std;
int main()
{
char s[10005],l,countn=0;
gets(s);
l=strlen(s);
if((l>=2) && (l<1001))
{
for(int i=0;i<l-1;i++)
{
if(countn==0)
{
cout<<s[i]<<s[i+1]-s[i]<<s[i+1];
countn=1;
}
else
cout<<s[i+1]-s[i]<<s[i+1];
}
}
else
cout<<“INPUT LIMIT EXCEEDED!!!”;
return 0;
}