본문 바로가기
728x90
반응형
SMALL

C++81

[프로그래머스] 덧셈식 출력하기 #include using namespace std; int main(void) { int a; int b; cin >> a >> b; cout cout cout cout cout return 0; } 2025. 8. 26.
[프로그래머스] 특수문자 출력하기 #include using namespace std; int main(void) { cout ?:;"; return 0; } 2025. 8. 26.
[프로그래머스] 대소문자 바꿔서 출력하기 #include #include using namespace std; int main(void) { string str; cin >> str; for (auto c : str) { if (c >= 'a' && c c -= 'a' - 'A'; else c += 'a' - 'A'; cout } return 0; } 2025. 8. 26.
[프로그래머] 문자열 반복해서 출력하기 #include #include using namespace std; int main(void) { string str; int n; cin >> str >> n; for(int i=0; i { cout } return 0; } 2025. 8. 26.
[프로그래머스] a와 b 출력하기 #include using namespace std; int main(void) { int a; int b; cin >> a >> b; cout cout return 0; } 2025. 8. 26.
[프로그래머스] 문자열 출력하기 #include #include using namespace std; int main(void) { string str; cin >> str; cout return 0; } 2025. 8. 26.
[백준] 문제 #10926 #includeusing namespace std;int main(){ string A; cin >> A; cout 이거는 문제의 의도가 무엇이지...? 그저 출력? 2025. 8. 19.
[백준] 문제 #10869 #includeusing namespace std;int main(){ int A, B; cin >> A >> B; cout 2025. 8. 19.
#pragma once C/C++에서 헤더 파일이 한 번만 포함되도록 보장하기 위한 컴파일러 지시문 예시)// myclass.h#pragma onceclass MyClass {public: void hello();}; 2025. 4. 14.
728x90
반응형
LIST