http://codeforces.com/gym/100989/my B. LCS (B) time limit per test 0.25 seconds memory limit per test 256 megabytes input standard input output standard output Although Haneen was able to solve the LCS problem, Dr. Ibrahim is suspicious about whether…