Hello. This video was between my recommended ones... I am an University student (Data Science) and I have to make some task in Python. Two players (White and Black) play the following game: At the beginning there is a string "s" with an even number of characters. The players alternately (starting with White) take letters from it and form their own chains from them, which have initially empty. The player who is on his turn can tear off the first or last letter from "s" and add it to the beginning of its chain. The game ends when the chain runs out. The player who has lexicographically smaller chain at the end wins the game" Can you help me with it? I can send u a code as well if u want. You can save my life by helping me
@@EarthlyTech I have whole programe done, everything is working, but the problem is … Only tester always gives me a WA (wrong answer) when its testing my programe, but I tried a looot of words, and its working in my IDLE without any issues… I do not know what should I change, when it is working for me exactly as I wanted, but online tester is giving me WRONG ANSWER
Hello. This video was between my recommended ones... I am an University student (Data Science) and I have to make some task in Python.
Two players (White and Black) play the following game: At the beginning there is a string "s" with an even number of characters.
The players alternately (starting with White) take letters from it and form their own chains from them, which have
initially empty. The player who is on his turn can tear off the first or last letter from "s" and add it to
the beginning of its chain. The game ends when the chain runs out. The player who has lexicographically smaller chain at the end wins the game"
Can you help me with it? I can send u a code as well if u want. You can save my life by helping me
Hi, Thanks for watching the video.
When asking questions about programming its helpful to share what you have tried and where you are stuck.
@@EarthlyTech I have whole programe done, everything is working, but the problem is … Only tester always gives me a WA (wrong answer) when its testing my programe, but I tried a looot of words, and its working in my IDLE without any issues… I do not know what should I change, when it is working for me exactly as I wanted, but online tester is giving me WRONG ANSWER
@@EarthlyTech Of course, I can send you a code by e-mail. It is kinda short code