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

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