Wrong Answer
Code
#include <stdio.h>
int main() {
int year;
scanf("%d", &year);
if ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0)) {
printf("Araf will celebrate tonight!\n");
} else {
printf("Araf will not celebrate tonight.\n");
}
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:21:36
- Judged At
- 2025-04-23 13:21:36
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 320.0 KiB