오늘 수행한 내용
1. 코딩 테스트
행렬의 덧셈
#include using namespace std;vector> solution(vector> arr1, vector> arr2) { vector> answer; answer = arr1; int rowMax = 0, columnMax = 0; if(!answer.empty()) { rowMax = answer.size(); if(!answer[0].empty()) { columnMax = answer[0].size(); } } for(int i = 0
hjmag1120.tistory.com
직사각형 별찍기
문제 해석1. 열과 행 제한을 입력받는다.2. *을 열만큼 출력한다.3. *이 한 줄 출력 완료되면 개행한다. 코드#include using namespace std;int main(void) { int rowMax; int columnMax; cin >> columnMax >> rowMax; for(int rowIte
hjmag1120.tistory.com
최대공약수와 최소공배수
문제문제 해석최대공약수와 최소공배수를 구하는 문제.최대공약수를 구하는 방법을 모른다면 빠르게 풀 수 없다.(유클리드 호제법 필수) 유클리드 호제법 두 양의 정수 a,b ( a > b )에 대하여 a =
hjmag1120.tistory.com
2. Udemy 강의 진행 - Unreal Engine 5 C++ Multiplayer Shooter ( 41 / 259 )
'TIL(Today I Learned)' 카테고리의 다른 글
| 250113 TIL (1) | 2025.01.13 |
|---|---|
| 25.01.08 TIL (1) | 2025.01.08 |
| 25.01.06 TIL (0) | 2025.01.06 |
| 25.01.03 TIL (0) | 2025.01.03 |
| 25.01.02 TIL (2) | 2025.01.02 |