I was solving [408B](http://codeforces.me/problemset/problem/408/B) and it was easy.↵
I submitted the code and I get WA in test 15. Then I have revised the code and changed the arrays' size↵
from **1000** to **1005** and it worked!↵
In the problem maximum length of both strings is 1000.↵
why did that happen?↵
first submission WA on test 15 : [28983405](http://codeforces.me/contest/408/submission/28983405).↵
second submission Accepted : [28983523](http://codeforces.me/contest/408/submission/28983523)↵
↵
please do not down vote before telling me what is the wring in my question ↵
↵
I submitted the code and I get WA in test 15. Then I have revised the code and changed the arrays' size↵
from **1000** to **1005** and it worked!↵
In the problem maximum length of both strings is 1000.↵
why did that happen?↵
first submission WA on test 15 : [28983405](http://codeforces.me/contest/408/submission/28983405).↵
second submission Accepted : [28983523](http://codeforces.me/contest/408/submission/28983523)↵
↵
please do not down vote before telling me what is the wring in my question ↵
↵