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.
Line 34: from month[2] = 29; to month[2] = 28;
Line 65: from x = x * 1000 + y1; to x = x * 10000 + y1;
Line 66: from if(x % 4 == 0 && x % 7 == 0){ to if(x % 4 == 0 || x % 7== 0){
Line 79: from m1 = m1 + 1; to m1 = 1;
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Prime Dates
You are viewing a single comment's thread. Return to all comments →
Line 32: from month[2] = 28; to month[2] = 29;
Line 34: from month[2] = 29; to month[2] = 28; Line 65: from x = x * 1000 + y1; to x = x * 10000 + y1; Line 66: from if(x % 4 == 0 && x % 7 == 0){ to if(x % 4 == 0 || x % 7 == 0){ Line 79: from m1 = m1 + 1; to m1 = 1;