Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
above (revised) code passes; possible cout formatting in the browser misled me earlier... closing now, thank you!
No need to for now, but posting your code (properly formatted) would help. Do you know how to use code formatting with Markdown?
C++. I have screenshots of the test runs with dumped mazes, to demonstrate this cases, which I can post (somehow) if anyone's interested.
In what language?
I am seeing test cases that are not NxN, and test cases where there is no possible path to the exit, but the test validator returns true.
Declaring what the type of 'maze' is would be nice. Also, I see most (if not all) solutions split the string into lines by '\n'. A list of lists (or at least list of strings) is easier to work with and makes much more sense in a task like this.
I think
|0
is shorter and less confusing for flooring than>>0
make it maze=="." it works for me
chatGPT probably got the answer from you!
that answer is from way before chatgpt was a thing lol
nice use chatGPT
This was probably one of the simplest ways to do it without digging into regex. nice job.
This should be marked "Puzzles" and not "Algorithms". It's completely underspecified.
aaaand now i'm super-glad i gave this one a pass.
This one lost me, zero interest. "Puzzles" like this where you're "let me begin by printing out all the test case data" are always bad IMHO.
Loading more items...