1 solutions

  • 0
    @ 2026-11-14 11:36:56

    C++ :

    #include <iostream>
    using namespace std;
    
    int main() {
        int x;
        cin >> x;
        int y = 2025 - x;
        if (y > 0) {
            cout << y << endl;
        } else {
            cout << -1 << endl;
        }
        return 0;
    }
    
    • 1

    Information

    ID
    152
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    10
    Tags
    # Submissions
    2
    Accepted
    2
    Uploaded By