Prime Dates

Sort by

recency

|

19 Discussions

|

  • + 0 comments

    Line 6

    month[2] = 28 -> month[2] = 29

    Line 8

    month[2] = 29 -> month[2] = 28

    Line 35

    x = x * 1000 + y1 -> x = x * 10000 + y1

    Line 36

    if x % 4 == 0 and x % 7 == 0: -> if x % 4 == 0 or x % 7 == 0:

    Line 47

    m1 = m1 + 1 -> m1 = 1

  • + 0 comments

    I dont understand, I have a blank page for c#

  • + 0 comments

    I dont understand, I have a blank page for c#

  • + 0 comments

    Python3: Stupid question. Took me a while to learn the formula for leap year

    Line 6:

            month[2] = 29
    

    Line 8:

            month[2] = 28
    

    Line 35:

            x = x * 10000 + y1
    

    Line 36:

            if x % 4 == 0 or x % 7 == 0:
    

    Line 47:

                    m1 = 1
    
  • + 2 comments

    What's wrong?

    it should be ok ///

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