Https://online.codingblocks.com/player/10201/content/4823?s=1623

what is wrong in this code?? it is working fine in my ide

#include
#include

using namespace std;

int main(){
string str;
cin>>str;

for(int i=0;i<str.length()-1;i++){
	cout<<str[i];
	cout<<(int)(str[i+1]-str[i]);
}
cout<<str[str.length()-1];

return 0;

}

Hey Deepak, can you please mention this problem’s name also.

strings-difference in ascii codes

Hey Deepak, this code is working absolutely fine for this problem, there is no issue.