This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
using namespace std; | |
/* | |
input한 년도의 | |
13일의 금요일이 포함된 월을 찾아라! | |
조건 : 가장 짧은 코드 | |
1900년 1월 1일 : 월 | |
*/ | |
int main(){ | |
int year(0), first_day(0), now_month(0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <vector> | |
using namespace std; | |
class Monster{ | |
private: | |
string m_strName; | |
int m_iHP; | |
public: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <algorithm> | |
#include <iterator> | |
#include <Windows.h> | |
#include <vector> | |
using namespace std; | |
#define MazeSize 16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int CalcAreaNum(bool **arrStage, int M, int N, int* l_m = nullptr, int* l_n = nullptr) | |
{ | |
int AreaNum = 0; | |
bool **_arrStage = new bool*[M]; | |
// malloc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
#include "LusDef.h" | |
//////////////////////////////////////////////// | |
// | |
void DrawLineBox(HDC mainDC, RECT rc, | |
COLORREF main_RGB, COLORREF Line_RGB, int LineLen, bool Type) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <set> | |
#include <map> | |
#include <algorithm> | |
#include <vector> | |
#define JudgeInfinity (INT_MAX >> 1) | |
using namespace std; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <conio.h> | |
#include <iostream> | |
#include <vector> | |
#include <fstream> | |
#include <string> | |
using namespace std; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <iostream> | |
#include <string> | |
#include <fstream> | |
using namespace std; | |
#define USE_DEBUG_OUTPUT_TEXT | |
#if defined(USE_DEBUG_OUTPUT_TEXT) | |
ofstream fs; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 유니코드 기반입니다. | |
#include <Windows.h> | |
#include <tchar.h> | |
// LoadString : 타이틀 이름과 윈도우 클래스 이름 길이. | |
#define MAX_LOADSTRING 100 | |
#define CLIENT_WIDTH 1200 // 클라이언트 너비 | |
#define CLIENT_HEIGHT 720 // 클라이언트 높이 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <iostream> | |
#include <thread> | |
#include <memory> | |
#include <map> | |
#include <atomic> | |
using namespace std; | |
atomic_bool g_booleanVariable = false; |
OlderNewer