전체 글

* Now that~ : 이제~ * be supposed to~ : 하기로 했어 * be not supposed to~ : 하면 안되 Now that I'm 31 years old, I need to prepare for marriage. Now that I'll graduate next Friday, I should finish writing the paper. Of course, I know that I should write the paper and I try to get a mindset to me that "Hey, you should write the paper right away." But I am studying algorithms and other things because of gett..
#include struct CELL{ int s, d, z; }; int r, c, m; CELL map[2][100][100]; int fishing(int cur, int pos){ int size = 0; for(int y = 0; y up // 2 -> down // 3 -> right // 4 -> down void move(int cur){ int next = (cur + 1) % 2; ..
간단하게 재귀함수를 사용하면 쉽게 풀리는 문제 #include using namespace std; int people(int k, int n){ if(k == 0){ return n; } else{ int sum = 0; for(int i = 1; i > t; for(int i = 0; i > k >> n; int sum; sum = people(k, n); cout
링크드 리스트 #ifndef LINKEDLIST_H #define LINKEDLIST_H #include #include typedef int ElementType; typedef struct tagNode{ ElementType Data; struct tagNode* NextNode; }Node; /* 함수 원형 선언 */ Node* SLL_CreateNode(ElementType NewData); void SLL_DestroyNode(Node* Node); void SLL_AppendNode(Node** Head, Node* NewNode); void SLL_InsertAfter(Node* Current, Node* NewNode); void SLL_InsertNewHead(Node**, Node* ..
오뚜깅
오뚜깅