[C#] 백준 10988번 : 팰린드롬인지 확인하기 [C#] 백준 10988번 : 팰린드롬인지 확인하기using System;class Program{ static void Main() { string word = Console.ReadLine(); int b = word.Length - 1; bool flag = true; for (int i = 0; i 백준/C# 2025.02.06
[C#] 백준 2444번 : 별 찍기 - 7 [C#] 백준 2444번 : 별 찍기 - 7using System;class Program{ static void Main() { int num = int.Parse(Console.ReadLine()); int a = num; int b = 1; for (int i = 0; i 백준/C# 2025.02.06
[C#] 백준 3003번 : 킹, 퀸, 룩, 비숍, 나이트, 폰 [C#] 백준 3003번 : 킹, 퀸, 룩, 비숍, 나이트, 폰using System;class Program{ static void Main() { string[] arr = Console.ReadLine().Split(" "); string[] chess = new string[] { "1", "1", "2", "2", "2", "8" }; int remain = 0; int[] output = new int[6]; for (int i = 0; i 백준/C# 2025.02.06
[C#] 백준 25083번 : 새싹 [C#] 백준 25083번 : 새싹using System;class Program{ static void Main() { Console.WriteLine(" ,r'\"7"); Console.WriteLine("r`-_ ,' ,/"); Console.WriteLine(" \\. \". L_r'"); Console.WriteLine(" `~\\/"); Console.WriteLine(" |"); Console.WriteLine(" |"); }} 백준/C# 2025.02.06
[C#] 백준 11718번 : 그대로 출력하기 [C#] 백준 11718번 : 그대로 출력하기using System;class Program{ static void Main() { for (int i = 0; i 백준/C# 2025.02.06
[C#] 백준 5622번 : 다이얼 [C#] 백준 5622번 : 다이얼using System;class Program{ static void Main() { string word = Console.ReadLine(); int sum = 0; for (int i = 0; i 백준/C# 2025.02.06
[C#] 백준 2908번 : 상수 [C#] 백준 2908번 : 상수using System;class Program{ static void Main() { string[] arr = Console.ReadLine().Split(" "); string a = arr[0]; string b = arr[1]; string temp = ""; int[] num = new int[3]; for (int i = 2; i >= 0; i--) { if (a[i] b[i]) { temp = a; break; } } if.. 백준/C# 2025.02.06
[C#] 백준 1152번 : 단어의 개수 [C#] 백준 1152번 : 단어의 개수using System;class Program{ static void Main() { string[] arr = Console.ReadLine().Split(" "); int sum = 0; for (int i = 0; i 백준/C# 2025.02.05
[C#] 백준 2675번 : 문자열 반복 [C#] 백준 2675번 : 문자열 반복using System;class Program{ static void Main() { int r = int.Parse(Console.ReadLine()); for (int i = 0; i 백준/C# 2025.02.05
[C#] 백준 10809번 : 알파벳 찾기 [C#] 백준 10809번 : 알파벳 찾기using System;class Program{ static void Main() { string s = Console.ReadLine(); for (int j = 'a'; j 백준/C# 2025.02.05