Prime Dates

Sort by

recency

|

93 Discussions

|

  • + 0 comments

    Five Corrections are their

    if(year % 400 == 0) { month[2] = 29; //It was 28 } else if(year % 100 == 0) { month[2] = 28; //It was 29 }

     x = x * 10000 + y1; // It was 1000 Changed 10000
        if(x % 4 == 0 || x % 7 == 0) { //It was AND changed to OR
            result = result + 1;
        }
    
                  if(m1 > 12) {
                y1 =  y1 + 1;
                m1 = 1; //It was m1+1, So changed to 1
            }
    
  • + 0 comments

    if(year % 400 == 0) { month[2] = 29; //It was 28 } else if(year % 100 == 0) { month[2] = 28; //It was 29 }

     x = x * 10000 + y1; // It was 1000 Changed 10000
        if(x % 4 == 0 || x % 7 == 0) { //It was AND changed to OR
            result = result + 1;
        }
    
                  if(m1 > 12) {
                y1 =  y1 + 1;
                m1 = 1; //It was m1+1, So changed to 1
            }
    
  • + 0 comments

    No code is provided in the Prime Dates challenge when using the Go language.

  • + 1 comment

    For Prime Dates Problem, I got this error everytime.I found the bugs and clear it but also the same error occured. I am using python3 language for solving this poblem.

    Wrong Answer :(

    1/1 test case failed

    Sample Test case 0 Compiler Message Wrong Answer Input (stdin) 02-08-2025 04-09-2025 Your Output (stdout) 5 Expected Output 5

  • + 0 comments

    same here: not possible in js, it expects py

    "Custom checker crashes with KeyError: u'javascript' despite correct output. Please verify language compatibility for custom checker."