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.
- All Contests
- HourRank 31
- Save the Queen!
- Discussions
Save the Queen!
Save the Queen!
Sort by
recency
|
38 Discussions
|
Please Login in order to post a comment
only 13 testcases are passed out of 23 testcases!!
This is my solution in C++:
Thank you!
the editorial is so hard.Look at it once.
public static void solve(int n, List a) {