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

100 X 100 이차원 배열을 생성하고 입력한 X, Y 값부터 + 10까지의 범위에 모두 "1"을 넣고 마지막에 1의 개수를 합이 곧 이 문제의 답이 된다. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication2 { public class Program { public static void Main(string[] args) { int num = int.Parse(Console.ReadLine()); string[,] arr = new string[100,100]; int cnt = 0; while ..
코딩 공부/C#
2023. 2. 16. 17:14

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { string[,] arr = new string[9, 9]; int max = int.MinValue; // 처음에 0으로 했다가 틀렸습니다, 나와서 한참 찾았네요 ㅠㅠ int y_loc= 0, x_loc = 0; for (int i = 0; i
코딩 공부/C#
2023. 1. 9. 16:15