1 solutions

  • 0
    @ 2026-2-8 21:07:53

    #include<bits/stdc++.h> using namespace std; int main(){ int year; cin>>year; int first_two=year/100; int last_two=year%100; if(first_two==last_two){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }

    Information

    ID
    861
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    10
    Tags
    # Submissions
    2
    Accepted
    2
    Uploaded By