歡迎加入我的 Discord 群組與我討論程式相關的問題!

Posted on 

 by 

 in 

Zerojudge a002. 簡易加法

評分:1 分,滿分為 5。

題目連結

題意

把兩個數字加起來

解題方法

#include <bits/stdc++.h>
using namespace std;
int main(){
    int a, b;
    cin >> a >> b;
    cout << a + b << '\n';
}

不了解輸入輸出的同學可以到 這裡 看我的教學!

發表迴響

Blog at WordPress.com.

%d 位部落客按了讚: