/ SeriousOJ /

Record Detail

Compile Error

foo.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.

Code

#include<iostream>
using namespace std;
int main(){
    int year;
    cin>>year;
    if((year%4==0 && year%100!=0)||(year%400==0)){
        cout<<"YES"<<endl;
    }
    else{
        cout<<"NO"<<endl;
    }
return 0;
}

Information

Submit By
Type
Submission
Problem
P1023 Happy new year 2024
Contest
Brain booster - 1
Language
C99 (GCC 13.2.0)
Submit At
2023-12-31 14:27:44
Judged At
2024-10-03 14:06:08
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes