We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
The only thing that matters is, that your code produces the correct output to std::out!
for pointer passed to the counterspell() function which are derived, the matching method needs to be called (reveal*())
for pointer passed to counterspell() function which are not derived, the number of common characters need to be printed (comparing the scroll name and the global journal string). This matches the number of lines the linux diff utility does not show (which are identical).
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Magic Spells
You are viewing a single comment's thread. Return to all comments →
A sane way to describe the task: