일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- UActor
- 언리얼 커스텀 플러그인
- hackerank
- 언리얼 플러그인
- SQL
- 1253번
- 백준 1253번
- Security
- UnrealMP
- Unreal
- 1967번
- 의미와 무의미의 경계에서
- 셰그먼트트리
- 민겸수
- 오손데이터읽기
- C++
- 5639
- 트랜잭션 관리
- Linux
- FBX
- 데이터베이스 배움터
- 백준
- OS
- 2단계로킹
- 비재귀셰그먼트
- 실습
- oracle
- command not found
- objtofbx
- 1759번
- Today
- Total
목록분류 전체보기 (118)
fatalite
#include using namespace std;int solution(int n){ int ans = 0; while(n != 0) { if(n % 2 == 0) { n /= 2; continue; } else { n -= 1; ans++; } } return ans;}
순열 구현 방법 순간 헷갈려서 애먹은그래도 천천히 생각하니깐 됐다#include #include #include #include #include using namespace std;vector> dupPermutations;pair Simulate( vector> users, vector emoticons, vector discountPercents){ int emoticonPlus = 0; int emoticonMoney = 0; for(vector user : users) { int userSum = 0; for(int j = 0; j = user[1]) { emoticonPlus +=..
vector.size()의 리턴 값은 unsigned다.....segmentation fault나서 헤매었다#include #include #include using namespace std;vector GetIce(int first){ int k = first; vector IceArr; while(k != 1) { IceArr.push_back(k); if(k % 2 == 0) { k = k / 2; } else { k = k * 3 + 1; } } IceArr.push_back(1); return IceArr;}vector solutio..
다익스트라#include #include #include #include #include using namespace std;int MAX_NUM = 100000000;vector> GraphEdges;vector Dijkstra(int start){ vector Dist; for(int i = 0 ; i q; q.push(start); while(!q.empty()) { int cur = q.front(); q.pop(); for(int i = 0 ; i words) { // Make Edges words.push_back(begin); GraphEdges = vector>(words.size()); for..
#include #include #include #include #include using namespace std;vector preOrder;vector postOrder;void PostOrder(vector>& nodes, int x , int y, int nodeNum, int minX, int maxX){ if(y leftNode; vector rightNode; vector> leftNodes; vector> rightNodes; for(vector node : nodes) { if(y node[0]) leftNodes.push_back(node); } int findingY = y; while(leftNode.empty()) ..
관련 개념n진법, 구현 이거 이렇게 풀어도 되는건가;; #include #include #include #include #include using namespace std;vector Get10ToN(int n, int number){ vector answer; if(number == 0) { answer.push_back(0); } while(number > 0) { answer.push_back(number % n); number /= n; } std::reverse(answer.begin(), answer.end()); return answer;}string solution(int n, int t, int m, i..
주어진 내용을 그대로 구현하면 된다.내가 구현하려고 했으면 시간이 오래 걸렸을 듯 하다. 관련된 내용은- 스택(그러나, 나는 올바른 괄호 구하는데 스택을 사용하지 않았다.)- 재귀(스택과 재귀!)- string을 잘 다룰 수 있는가?#include #include #include #include using namespace std;bool isRight(string s){ int cnt = 0; for(char c : s) { if(c == '(') { cnt++; } else { if(cnt == 0) { return false; ..
#include #include #include using namespace std;vector solution(int n) { int now = 1; vector> snale = vector>(); // 2차원 배열 for(int i = 1 ; i line = vector(); for(int j = 1; j answer; for(vector line : snale) { for(int a : line) { answer.push_back(a); } } return answer;}
언리얼 프로그램의 GuardedMain GuardedMain의 흐름(윈도우) 1. PreMainInit 2. EnginePreInit ⮕ FEngineLoop.PreInit() ⮕ PreInitPreStartupScreen(const TCHAR* CmdLine) 모듈, 플러그인 로드, CDO 등 3. EngineInit ⮕ FEngineLoop.Init() Create & Start UGameEngine / UGameInstance / UViewportClient / UPlayer... / AActor 자세한 내용 bool FEngineLoop::AppInit( ) 4. Tick ⮕ while(!IsEngineExitRequested()) { EngineTick(); } ⮕ FEngineLoop.Tick..

처음 만들었을 때 플러그인의 .CPP // Copyright Epic Games, Inc. All Rights Reserved. #include "CharacterDebuggingTool.h" #define LOCTEXT_NAMESPACE "FCharacterDebuggingToolModule" void FCharacterDebuggingToolModule::StartupModule() { // This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module } void FCharacterDebuggingToolModule::ShutdownMod..