3 solutions

  • 0
    @ 2026-2-5 15:31:47

    #include <bits/stdc++.h> using namespace std;

    int main() { int n, a, b, c; cin >> n >> a >> b >> c; cout << n - (a - c) - (b - c) - c; return 0; }

    Information

    ID
    282
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    3
    Tags
    # Submissions
    474
    Accepted
    245
    Uploaded By