Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 통계학
- 라인트레이서
- 아두이노 컴파일러
- Array
- c++
- set
- 아두이노 소스
- stl
- html
- WinAPI
- directx
- Arduino
- 시스템프로그래밍
- Deque
- 컴퓨터 그래픽스
- 수광 소자
- Visual Micro
- queue
- map
- vector
- 자료구조
- 운영체제
- Algorithm
- list
- arduino compiler
- Stack
- priority_queue
- LineTracer
- 아두이노
- C언어
Archives
- Today
- Total
Kim's Programming
2027. 대각선 출력하기 본문
2027. 대각선 출력하기
풀이 방법
<코드>
#include<iostream> int main() { for(int i=0;i<5;i++) { for(int j=0;j<i;j++) std::cout<<"+"; std::cout<<"#"; for(int j=i+1;j<5;j++) std::cout<<"+"; std::cout<<"\n"; } return 0; }
'SW ExpertAcademy > D1' 카테고리의 다른 글
2043. 서랍의 비밀번호 (0) | 2018.11.30 |
---|---|
2029. 몫과 나머지 출력하기 (0) | 2018.11.30 |
2025. N줄덧셈 (0) | 2018.11.30 |
1938. 아주 간단한 계산기 (0) | 2018.11.30 |
1933. 간단한 N 의 약수 (0) | 2018.11.30 |