일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- oracle
- 대구카페
- 서울맛집
- 수성구맛집
- 정렬
- 별찍기
- 대구고깃집
- C#
- 대명동맛집
- SQL
- 수성구데이트
- 오라클
- 반복문
- 대구삼겹살
- 들안길삼겹살
- 안지랑카페
- 압구정데이트
- 대구맛집
- 수성못맛집
- 브루트 포스
- 수성못삼겹살
- programmers
- 범어동맛집
- 조건문
- BFS
- 큐
- 백준
- 대구데이트
- 프로그래머스
- 앞산카페
- Today
- Total
목록별찍기 (3)
모든 일상

문제예제를 보고 규칙을 유추한 뒤에 별을 찍어 보세요.입력첫째 줄에 N(1 ≤ N ≤ 100)이 주어진다.출력첫째 줄부터 2×N-1번째 줄까지 차례대로 별을 출력한다.예제 입출력소스코드using System;using System.Collections;using System.Collections.Generic;using System.Diagnostics;using System.Diagnostics.Eventing.Reader;using System.Globalization;using System.IO;using System.Linq;using System.Linq.Expressions;using System.Runtime.InteropServices;using System.Security.Cryptogr..

문제첫째 줄에는 별 2×N-1개, 둘째 줄에는 별 2×N-3개, ..., N번째 줄에는 별 1개를 찍는 문제별은 가운데를 기준으로 대칭이어야 한다.입력첫째 줄에 N(1 ≤ N ≤ 100)이 주어진다.출력첫째 줄부터 N번째 줄까지 차례대로 별을 출력한다.예제 입출력using System;using System.Collections;using System.Collections.Generic;using System.Diagnostics;using System.Diagnostics.Eventing.Reader;using System.Globalization;using System.IO;using System.Linq;using System.Linq.Expressions;using System.Runtime.In..

문제첫째 줄에는 별 1개, 둘째 줄에는 별 3개, ..., N번째 줄에는 별 2×N-1개를 찍는 문제별은 가운데를 기준으로 대칭이어야 한다.입력첫째 줄에 N(1 ≤ N ≤ 100)이 주어진다.출력첫째 줄부터 N번째 줄까지 차례대로 별을 출력한다.예제 입출력소스코드using System;using System.Collections;using System.Collections.Generic;using System.Diagnostics;using System.Diagnostics.Eventing.Reader;using System.Globalization;using System.IO;using System.Linq;using System.Linq.Expressions;using System.Runtime.In..