Back to General discussions forum
I solved problem #50 palindrome on my computer with gcc in C. But when I paste the code into website and click "Run", it just waits forever. I tried contacting the owner on linkedin but just my luck, I reached my connections limit for the week and have to wait for another whole week. I don't have facebook nor VK like mentioned as contact forms on "Contact and Support" page. Is there no other way to contact Mr Rodion Gorkovenko some other way like an email?
Has anyone encountered this, if yes how do I fix this? or what mistake am I making to be precise?
The same thing happens now with my C solution to problem #1, which I originally solved years ago. However, C solutions for problems #2 and #3 run and terminate as expected.
Problem #1 solutions in other languages run without problems.
I think it may be due to how the input data is given on website, I used fgets() for taking the input string, will try using other input functions like scanf() and see the result. If it still persists, then it may be something with the website or a mistake/drawback that I fail to recognize in my code. Will report here again.
I have tried with scanf() as well but still cannot produce an output. I tried the same code and same inputs on https://www.ideone.com and it works just fine, both scanf() and fgets() versions of code.
Another point to note, I also noticed this new error(probably unrelated) in "Your answer:" part; "Error: can't connect to 'sandbox' server - please, retry bit later.......". But this only happend once when testing many times to see how it handled infinte loops like while(1). I don't know what to do, will solve some other problem for now.