-
백준 2902번 C++ 풀이카테고리 없음 2018. 11. 3. 22:18반응형
#include <iostream>
#include <algorithm>
#include <queue>
using namespace std;
int buffer[1001];
int dp[1001];
int main(){
cin.tie(NULL);
ios::sync_with_stdio(false);
int n;
string a;
cin >> a;
int size = a.length();
for (auto i=0; i<size; i++){
char temp = a[i];
if ('A' <=temp && temp <= 'Z'){
cout << temp;
}
}
return 0;
}반응형