2 solutions

  • 1
    @ 2026-5-23 9:15:45

    #include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; if(n%30&&n%50) { cout<<"YES"; } else { cout<<"NO"; }

    return 0;
    

    }

    Information

    ID
    859
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    250
    Accepted
    114
    Uploaded By