Velikost videa: 1280 X 720853 X 480640 X 360
Zobrazit ovladače přehrávání
Automatické přehrávání
Přehrát
My Submission Link : codeforces.com/contest/1989/submission/267765133
Helpful !
Please upload video for D
Thanks please upload for C and D also
why does the longest common substring approach don't work
please write your approach in brief
Could u pls tell why this doesnt work?cin>>a>>b; ans = a.length(); for(int i=0;i
i cant think of any test case which doesn't work. so can anyone find out the wrong test case?
In subsequence, order of characters should be maintained....at a glance I think this is the error in the code.. .....as you are using frequency array so there might be error in ordering I'll try to find the test case tommorow...
@@cp_with_vkd Thank you, it would be very helpful. Actually all testcases i can think of, pass
@@Sai-ir8yh a=cabcefg b=bcaefg answer should be 8 ur code will give wrong answer :)
My Submission Link : codeforces.com/contest/1989/submission/267765133
Helpful !
Please upload video for D
Thanks please upload for C and D also
why does the longest common substring approach don't work
please write your approach in brief
Could u pls tell why this doesnt work?
cin>>a>>b;
ans = a.length();
for(int i=0;i
i cant think of any test case which doesn't work. so can anyone find out the wrong test case?
In subsequence, order of characters should be maintained....at a glance I think this is the error in the code.. .....as you are using frequency array so there might be error in ordering
I'll try to find the test case tommorow...
@@cp_with_vkd Thank you, it would be very helpful. Actually all testcases i can think of, pass
@@Sai-ir8yh a=cabcefg b=bcaefg answer should be 8 ur code will give wrong answer :)