You are viewing a single comment's thread. Return to all comments →
in the first solution given in the editorial ,I wante to ask the line" if (max(0,n/2-pr)+max(0,n/2-dr)==ob) da++;"
should instead be if (max(0,n/2-pr)+max(0,n/2-dr)<=ob) da++;
Seems like cookies are disabled on this browser, please enable them to open this website
GCD Groups
You are viewing a single comment's thread. Return to all comments →
in the first solution given in the editorial ,I wante to ask the line" if (max(0,n/2-pr)+max(0,n/2-dr)==ob) da++;"
should instead be if (max(0,n/2-pr)+max(0,n/2-dr)<=ob) da++;