Tobbelang
✅ Need help with recursive solution on vjudge Homer Simpson UVA - 10465 problem with C
I am trying to solve https://vjudge.net/problem/UVA-10465 or at least get "Time exceeded" (3000ms) instead of "Wrong answer" with my current code. In VSCode I've tried several cases and seem to get the correct answer, Any help or tips to improve my code (but needs to be a recursive function) will be greatly appreciated
When testing code on the website u can hand it in as c++ instead of c and it will compile
My code:
4 replies