Same input gives different results as "Test" and as "Test with custom input"


#1

I have different results for same input:
A : “aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa”
B : “a**************************************************************************************”
If I run “Test” it says “Your function returned the following : 0”
If I run it as custom input it says: “Your function returned the following output: 1”;

Same mistake if I “Submit”
Input:
A : “aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa”
B : “*b”
After submission: " Your function returned the following : 1"
If run this as custom input: " Your function returned the following output: 0"


#2

if you have used any global array or variable, make sure to clear it.