#include <iostream>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
int N, X; cin >> N >> X;
for (int i = 0; i < N; i++) {
int num; cin >> num;
if (num < X) cout << num << ' ';
}
}
'Algorithm ๐ง๐ปโ๐ป > ๋ฐฑ์ค(BOJ)' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[๋ฐฑ์ค,c++] 10951๋ฒ - A+B-4 (0) | 2021.10.25 |
---|---|
[๋ฐฑ์ค,c++] 10950๋ฒ - A+B-3 (0) | 2021.10.25 |
[๋ฐฑ์ค,c++] 10872๋ฒ - ํฉํ ๋ฆฌ์ผ (0) | 2021.10.25 |
[๋ฐฑ์ค,c++] 10870๋ฒ - ํผ๋ณด๋์น ์5 (0) | 2021.10.25 |
[๋ฐฑ์ค,c++] 10867๋ฒ - ์ค๋ณต ๋นผ๊ณ ์ ๋ ฌํ๊ธฐ (0) | 2021.10.25 |
[๋ฐฑ์ค,c++] 10866๋ฒ - ๋ฑ (0) | 2021.10.25 |
๋๊ธ