#include <iostream>
#include <string>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
int n;
int ans = 0;
while (cin >> n) {
ans += n;
}
cout << ans;
}
'Algorithm ๐ง๐ปโ๐ป > ๋ฐฑ์ค(BOJ)' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[๋ฐฑ์ค,c++] 11049๋ฒ - ํ๋ ฌ ๊ณฑ์ ์์ (0) | 2021.10.26 |
---|---|
[๋ฐฑ์ค,c++] 11048๋ฒ - ์ด๋ํ๊ธฐ (0) | 2021.10.26 |
[๋ฐฑ์ค,c++] 11047๋ฒ - ๋์ 0 (0) | 2021.10.26 |
[๋ฐฑ์ค,c++] 11022๋ฒ - A+B-8 (0) | 2021.10.26 |
[๋ฐฑ์ค,c++] 11021๋ฒ - A+B-7 (0) | 2021.10.26 |
[๋ฐฑ์ค,c++] 11004๋ฒ - K๋ฒ์งธ ์ (0) | 2021.10.26 |
๋๊ธ