题解
2024-11-07 12:37:47
发布于:浙江
1阅读
0回复
0点赞
#include <iostream>
using namespace std;
int main() {
    // Step 1: Declare variables to store input integers
    long long a, b;
    
    // Step 2: Take input for the two integers a and b
    cin >> a >> b;
    
    // Step 3: Calculate the sum of a and b
    long long sum = a + b;
    
    // Step 4: Output the result
    cout << sum << endl;
    return 0;
}
这里空空如也

有帮助,赞一个