본문 바로가기

c++86

[프로그래머스] 문자열 붙여서 출력하기(c++) https://school.programmers.co.kr/learn/courses/30/lessons/181946 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 답 #include using namespace std; int main(){ ios_base::sync_with_stdio(0); cin.tie(0); string s1,s2; cin>>s1>>s2; cout 2023. 12. 26.
[프로그래머스] 덧셈식 출력하기(c++) https://school.programmers.co.kr/learn/courses/30/lessons/181947 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 답 #include using namespace std; int main(){ ios_base::sync_with_stdio(0); cin.tie(0); int a,b; cin>>a>>b; cout 2023. 12. 26.
[프로그래머스] 특수문자 출력하기(c++) https://school.programmers.co.kr/learn/courses/30/lessons/181948 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 답 #include using namespace std; int main(){ ios_base::sync_with_stdio(0); cin.tie(0); cout 2023. 12. 26.
[프로그래머스] 대소문자 바꿔서 출력하기(c++) https://school.programmers.co.kr/learn/courses/30/lessons/181949 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 답 #include using namespace std; int main(){ ios_base::sync_with_stdio(0); cin.tie(0); string s; cin>>s; for(int i=0;i='A'&&s[i]='a'&&s[i] 2023. 12. 25.
[프로그래머스] 문자열 반복해서 출력하기(c++) https://school.programmers.co.kr/learn/courses/30/lessons/181950 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 답 #include using namespace std; int main(){ ios_base::sync_with_stdio(0); cin.tie(0); string s; int n; cin>>s>>n; for(int i=0;i 2023. 12. 25.
[프로그래머스] a와 b 출력하기(c++) https://school.programmers.co.kr/learn/courses/30/lessons/181951?language=cpp 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 답 #include using namespace std; int main(){ ios_base::sync_with_stdio(0); cin.tie(0); int a,b; cin>>a>>b; cout 2023. 12. 25.