This file contains hidden or 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 <stdio.h> | |
#include <string.h> | |
#include <stdbool.h> | |
#define MAX 128 | |
bool is_digit(char ch) { return (ch >= '0' && ch <= '9'); } | |
int main(void) | |
{ |
This file contains hidden or 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
#define _CRT_SECURE_NO_WARNINGS | |
#include <stdio.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
unsigned n; | |
scanf("%u", &n); | |
char* str = (char*)malloc(sizeof(char) * (n + 1)); |
This file contains hidden or 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
//Copyright 2019. Song, Dae-geon | |
#ifndef __H_STACKQUEUE__ | |
#define __H_STACKQUEUE__ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <type_traits> | |
#include <string> |
This file contains hidden or 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
// Set project as empty windows project. | |
// A game loop using PeekMessage function. | |
// Uses double buffering. | |
#include <Windows.h> | |
#include <time.h> | |
#include <math.h> | |
#pragma comment(lib, "winmm.lib") |
This file contains hidden or 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
from itertools import permutations | |
li_Consanant = [ 'B', 'C', 'D', 'F', 'G', 'H'] | |
li_Vowel = ['A', 'E'] | |
# check every consanant is neighbor in a statement | |
def isValid(statement): # statement list of code | |
def isConsanant(code): | |
global li_Consanant |
This file contains hidden or 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
#define DEFAULT_CONSTRUCTOR_EXISTS | |
//#define COPY_CONSTRUCTOR_EXISTS | |
//#define ASSIGN_OPERATOR_EXITS | |
#include <iostream> | |
using namespace std; | |
class Parent | |
{ |
This file contains hidden or 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
class EmptyException(Exception): | |
pass | |
class ArrayDeque: | |
# class varriable | |
DEFAULT_CAPACITY = 10 | |
def __init__(self, capacity=DEFAULT_CAPACITY): | |
self._data = [None] * capacity | |
self._front = 0 |
This file contains hidden or 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
def IntDefault(s : str, default : int): | |
if s == '': | |
return default | |
else: | |
return int(s) | |
def QFarea(d : str): | |
# Toknization (White Spacing kill) | |
d = d.replace(' ', '') |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title></title> | |
</head> | |
<body> | |
<h1>Audio</h1> |
This file contains hidden or 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
# Copyright (c) 2020-2021 Chanjung Kim (paxbun). All rights reserved. | |
# See Clang 10 documentation for more information. | |
BasedOnStyle: LLVM | |
AccessModifierOffset: -2 | |
AlignAfterOpenBracket: Align | |
AlignConsecutiveAssignments: true | |
AlignConsecutiveDeclarations: true | |
AlignConsecutiveMacros: true |
OlderNewer