일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- guide
- Tutorial
- 프로그래밍
- Class
- 파이썬
- c++
- 기초
- 문제풀이
- dfs
- Programming
- String
- python
- w3school
- github
- Basic
- Unreal Engine 5
- 오류
- 백준
- 시작해요 언리얼 2022
- C#
- loop
- Algorithm
- Unity
- parameter
- Material
- 재귀
- dynamic
- UE5
- DP
- W3Schools
- Today
- Total
목록Algorithm (107)
행복한 개구리

특수문자를 출력하고 싶을 땐 앞에 백슬래시 ( \ )를 달아주면 된다는 사실을 알면 됩니다. Python arr = [" ,r\'\"7", "r`-_ ,\' ,/", " \\. \". L_r\'", " `~\\/", " |"," |"] for i in arr: print(i) C# string[] arr; arr = new string[] { " ,r\'\"7", "r`-_ ,\' ,/", " \\. \". L_r\'", " `~\\/", " |", " |" }; foreach (string i in arr) { Console.WriteLine(i); } C++ #include using namespace std; int main() { string arr[] = { " ,r\'\"7\n", "r`-_ ..

(1)의 수를 (2)의 각 자리수와 따로 곱한 뒤 (3) + ((4)*10) + ((5)*100) = (6)이 되는 것을 알면 됩니다. Python a = int(input()) b = input() mults = list(map(int, b)) result = [] third = a*mults[-1] fourth = a*mults[-2]*10 fifth = a*mults[0]*100 result = [third, fourth//10, fifth//100, third + fourth + fifth] for i in result: print(i) C# int a = int.Parse(Console.ReadLine()); string b = Console.ReadLine(); char[] c = b.ToCh..

Python A, B, C = map(int, input().split()) result = [(A+B)%C, ((A%C)+(B%C))%C, (A*B)%C, ((A%C)*(B%C))%C] for i in result: print(i) C# using System.Collections; string line = Console.ReadLine(); string[] nums = line.Split(" "); int A, B, C; A = int.Parse(nums[0]); B = int.Parse(nums[1]); C = int.Parse(nums[2]); int[] result = new int[4] { (A + B) % C, ((A % C) + (B % C)) % C, (A * B) % C, ((A % C..

Python year = int(input()) print(year - 543) C# int year = int.Parse(Console.ReadLine()); Console.Write(year - 543); C++ #include using namespace std; int main() { int year; cin >> year; cout

Python txt = input() print(txt + "??!") C# string txt = Console.ReadLine(); Console.Write(txt + "??!"); Write과 WriteLine의 차이점은 Write은 줄바꿈이 없고 WriteLine은 출력 후 줄바꿈을 실행한다는 점입니다. C++ #include using namespace std; int main() { string input; cin >> input; cout

Python A, B = map(int, input().split()) arr = [A+B, A-B, A*B, int(A/B), A%B] for i in range(5): print(arr[i]) C# string[] input = Console.ReadLine().Split(); int A = int.Parse(input[0]); int B = int.Parse(input[1]); int[] result = { A+B, A-B, A*B, A/B, A%B}; for (int i = 0; i > a >> b; int r..