Notice
                              
                          
                        
                          
                          
                            Recent Posts
                            
                        
                          
                          
                            Recent Comments
                            
                        
                          
                          
                            Link
                            
                        
                    | 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 | 
| 12 | 13 | 14 | 15 | 16 | 17 | 18 | 
| 19 | 20 | 21 | 22 | 23 | 24 | 25 | 
| 26 | 27 | 28 | 29 | 30 | 31 | 
                            Tags
                            
                        
                          
                          - 십진수 8진수
- 십진수 16진수
- 문자열숫자를 숫자로
- 백준 11720
- 마법이라고 불러도 좋을까?
- 백준4344번
- 자료형
- React.js
- 히라이켄
- 아스키코드로 숫자 넣기
- 魔法っていっていいかな
- 오버플로우
- Official髭男dism
- body
- !doctype html
- 정수와 상수
- 平井堅
- HEAD
- meta charset=
- ㅇ
- 백준 8958번
- 異端なスター
- html
- 아스키코드
                            Archives
                            
                        
                          
                          - Today
- Total
갓비니
2020/04/17 코딩 문제 연습 (7단계 / 백준 2675번) C++ 본문

| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #include <iostream> #include <string> using namespace std; int main() {     int count;     int repeat;     string  word;     cin >> count;     for (int i = 0; i < count; i++) {         cin >> repeat;         cin >> word;         for (int j = 0; j < word.size(); j++) {             for (int k = 0; k < repeat; k++) {                 cout << word[j];             }         }         cout << "\n";     } } http://colorscripter.com/info#e" target="_blank" style="color:#4f4f4ftext-decoration:none">Colored by Color Scripter | 
sizeof(word),,,
이것이 아니고
word.size()
'Programming > 코딩 문제 풀이' 카테고리의 다른 글
| 2020/04/19 코딩 문제 연습(7단계 / 백준 1152번) C++ / 띄어쓰기도 string에 저장하고 싶을 때 getline(), .at() (0) | 2020.04.21 | 
|---|---|
| ★2020/04/18 코딩 문제 연습 (7단계 / 백준 1157) C++ (0) | 2020.04.19 | 
| ★2020/04/16 코딩 문제 연습 ( 7단계 / 백준 10809번) C++ 해결 (0) | 2020.04.16 | 
| 2020/04/15 코딩 문제 연습 (7단계 / 백준 11720번) C++ 아스키코드 (0) | 2020.04.15 | 
| 2020/04/14 코딩 문제 연습 (7단계 / 백준 11654번) C++ 아스키코드 char형 숫자를 int로 변환하는 방법 (0) | 2020.04.15 | 
 
           
                   
                   
                  