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

using System; namespace ConsoleApp3 { class Program { static void Main(string[] args) { char[] ch = Console.ReadLine().ToCharArray(); string reversed = ""; for (int i = ch.Length - 1; i>=0; i--) { reversed += ch[i]; } string[] arr = reversed.Split(); if (int.Parse(arr[0]) > int.Parse(arr[1])) { Console.Write(arr[0]); } else if (int.Parse(arr[0])

using System; namespace ConsoleApp3 { class Program { static void Main(string[] args) { string str = Console.ReadLine(); string[] arr = str.Split(); int cnt = 0; for (int i = 0; i

using System; namespace ConsoleApp3 { class Program { static void Main(string[] args) { char[] str = Console.ReadLine().ToUpper().ToCharArray(); Array.Sort(str); int[] arr = new int[26]; for (int i = 0; i

using System; namespace ConsoleApp10 { class Program { static void Main(string[] args) { int size = int.Parse(Console.ReadLine()); string[] arr = new string[size]; int[] result = new int[size]; for (int i = 0; i

문제 이해하는데 오래 걸린 문제이다. 예제 입력 1로 설명을 하자면 40 60 80 이 점수이고 이 값들을 합한 180을 최고점 80 으로 나눈후 100을 곱해준다. 그럼 225라는 값이 나오는데 그 값을 총 3과목이니까 3으로 나눠준다. using System; namespace ConsoleApp9 { class Program { static void Main(string[] args) { int size = int.Parse(Console.ReadLine()); string str = Console.ReadLine(); string[] arr = str.Split(); int max = 0, sum = 0; for(int i = 0; i max) max = int.Parse(arr[i]); sum ..