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

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) { /*int num = int.Parse(Console.ReadLine()); int[] arr = new int[num]; for(int i = 0; i

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 = Console.ReadLine().Split(); int num = int.Parse(arr[0]); int cut = int.Parse(arr[1]); string[] buff = Console.ReadLine().Split(); int[] score_arr = Array.ConvertAll(buff, s => int.Parse..

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) { int[] arr = new int[5]; int avg = 0; for(int i = 0; i

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

using System; using System.Collections; using System.Collections.Generic; namespace ConsoleApp3 { public class Program { static void Main(string[] args) { int size = int.Parse(Console.ReadLine()); int[,] value = new int[size, size]; int[,] visit = new int[size, size]; int[] dx = new int[4] { 1, 0, -1, 0 }; int[] dy = new int[4] { 0, 1, 0, -1 }; Queue q = new Queue(); // X,Y 축 위치 저장 Queue result ..

using System; using System.Collections; using System.Collections.Generic; namespace ConsoleApp3 { public class Program { static void Main(string[] args) { var input = Console.ReadLine().Split(); int size_y = int.Parse(input[0]); int size_x = int.Parse(input[1]); int test_case = int.Parse(input[2]); int[,] data = new int[100, 100]; int[,] visit = new int[100, 100]; int[] dx = new int[4] { 1, 0, -..

using System; using System.Collections; using System.Collections.Generic; namespace ConsoleApp3 { public class Program { static void Main(string[] args) { int test_case = int.Parse(Console.ReadLine()); int[] result= new int[test_case]; int[] dx = new int[8] {2, 2, 1, 1, -2, -2, -1, -1}; // 나이트 움직임 -> ((x 축 2칸 - y 축 1칸) or (x 축 1칸 + y축 2칸)) int[] dy = new int[8] {1, -1, 2, -2, 1, -1, 2, -2}; for ..

using System; using System.Collections; using System.Collections.Generic; namespace ConsoleApp3 { public class Program { static void Main(string[] args) { string[] input_data = Console.ReadLine().Split(); int start = int.Parse(input_data[0]); int end = int.Parse(input_data[1]); int[] visit = new int[200001]; // 0