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

Python A, B = map(float, input().split()) print(A/B) Python은 float형식만으로도 소숫점 아래 9자리 이상 표현되므로 float을 사용합니다. C# string[] input = Console.ReadLine().Split(); Console.WriteLine(double.Parse(input[0]) / double.Parse(input[1])); 오차를 줄이기 위해 float 대신 double을 사용합니다. string으로 받아온 값을 형변환하기 위해 int.Parse 를 이용합니다. C++ #include using namespace std; int main() { double a, b; cin >> a >> b; cout.precision(12); c..

Python A, B = map(int, input().split()) print(A*B) C++ #include using namespace std; int main() { int A; int B; cin >> A, cin >> B; cout

Python A, B = map(int, input().split()) print(A-B) C++ #include using namespace std; int main() { int A; int B; cin >> A, cin >> B; cout

Python A, B = map(int, input().split()) print(A+B) C++ #include using namespace std; int main() { int A; int B; cin >> A, cin >> B; cout

Python l = ["|\\_/|", "|q p| /}", "( 0 )\"\"\"\\", "|\"^\"` |", "||_/=\\\\__|"] for i in range(5): print(l[i]) C++ #include using namespace std; int main() { string txt[5] = {"|\\_/|", "|q p| /}", "( 0 )\"\"\"\\", "|\"^\"` |", "||_/=\\\\__|"}; for (int i = 0; i < 5; i++) { cout