
Dashboard - Codeforces Round #751 (Div. 2) - Codeforces Dashboard - Codeforces Round #751 (Div. 2) - Codeforces codeforces.com !!!! 모든 답은 제 풀이일 뿐 정해가 아닐 수 있습니다 !!!! A. Two Subsequences Problem - A - Codeforces Problem - A - Codeforces codeforces.com 문제 string s가 주어졌을 때, 모든 문자열을 활용하면서 두 개의 string a,b 로 쪼개었을 때 a를 사전순으로 제일 작게 출력하는 문제 풀이 string s에서 가장 작은 아스키 코드 값의 char를 찾아 a로 출력하고, 해당 인덱스를 제외하고 나머지를..

Dashboard - Codeforces Round #748 (Div. 3) - Codeforces Dashboard - Codeforces Round #748 (Div. 3) - Codeforces codeforces.com !!!! 모든 답은 제 풀이일 뿐 정해가 아닐 수 있습니다 !!!! A. Elections Problem - A - Codeforces Problem - A - Codeforces codeforces.com 문제 3개의 수가 주어졌을 때, 각 수 마다 가장 높은 수를 만들 기 위해 더해줘야 할 최소 수를 구하는 문제 풀이 가장 높은 숫자를 MAX라고 쳤을때 MAX값이 2개 이상이면 , MAX값에 +1을 해주고, 아니라면 MAX값에 0 나머지는 (MAX+1)-n 을 출력해주면 된다...

Dashboard - Codeforces Round #747 (Div. 2) - Codeforces Dashboard - Codeforces Round #747 (Div. 2) - Codeforces codeforces.com !!!! 모든 답은 제 풀이일 뿐 정해가 아닐 수 있습니다 !!!! A. Consecutive Sum Riddle Problem - A - Codeforces Problem - A - Codeforces codeforces.com 문제 n이 주어졌을 때 ,l ~ r 구간의 합이 n인 값 l , r 을 출력하는 문제 풀이 l을 -(n-1) 로 , r을 n으로 두면 합이 n이 된다. 코드 #include using namespace std; int main() { ios_base::s..

Dashboard - Codeforces Round #744 (Div. 3) - Codeforces Dashboard - Codeforces Round #744 (Div. 3) - Codeforces codeforces.com !!!! 모든 답은 제 풀이일 뿐 정해가 아닐 수 있습니다 !!!! A. Casimir's String Solitaire Problem - A - Codeforces Problem - A - Codeforces codeforces.com 문제 string 이 테스트케이스에 맞게 1개씩 출력된다. 'A' , 'B' , 'C'로만 구성되어 있으며, 2개의 액션중 한번에 한가지를 통해 (여러번 할 수 있다) 모든 문자를 지울 수 있으면 YES 출력하면 되는 문제 1. A 와 B를 지운다..