/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Wrong Answer 0ms 284.0 KiB
#2 Wrong Answer 0ms 284.0 KiB

Code

#include <stdio.h>

int main() {
    int a;
    scanf("%d", &a);

    if ((a % 4 == 0 && a % 100 != 0) || (a % 400 == 0)) {
        printf("Yes");
    } else {
        printf("No");
    }

    return 0;
}

Information

Submit By
Type
Submission
Problem
P1023 Happy new year 2024
Language
C99 (GCC 13.2.0)
Submit At
2025-04-23 13:20:13
Judged At
2025-04-23 13:20:13
Judged By
Score
0
Total Time
0ms
Peak Memory
284.0 KiB