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.
Bitwise Operators
Bitwise Operators
Sort by
recency
|
497 Discussions
|
Please Login in order to post a comment
void calculate_the_maximum(int n, int k) { int i=0,j=0,y,m,x, m1=0,y1=0,x1=0;
}
I don't know if this will help anybody but I had implemeted a code that follows what the challenge had explained. Running the code results in test case 1-4 to fail while others passed. While debugging, I realized I initialized the first number in my number pairs to zero instead of 1. Reading the challenge description carefully can save you a lot headaches.
Jeez, who wrote this problem statement?