1 solutions

  • 0
    @ 2024-5-23 17:03:18

    随便写一下,就行了

    #include <iostream>
    using namespace std;
    int a, b, c;
    
    int main() {
    cin >> a >> b >> c;
    if (c == 0) {
    cout << "Division by zero condition" << endl;
    } else {
    cout << ((a + b) / c);
    }
    
    ```
    return 0;
    ```
    
    }
    
    

    Information

    ID
    502
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    8
    Tags
    # Submissions
    18
    Accepted
    6
    Uploaded By