Skip to content

Instantly share code, notes, and snippets.

View cozyplanes's full-sized avatar
🎯
Focusing

cozyplanes cozyplanes

🎯
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am cozyplanes on github.
  • I am cozyplanes (https://keybase.io/cozyplanes) on keybase.
  • I have a public key ASAbU-W-gHFygxHUIDMEnopcfZeFcCYiX4VUnUmhhl1FbQo

To claim this, I am signing this object:

<!DOCTYPE html>
<html>
<body>
<input type="text" id="username" />
<input type="text" id="subtext"/>
<br>
<button type="button" id="create">Create</button>
<Style x:Key="BorderStyle"               TargetType="Border">            <Setter Property="BorderBrush" Value="Gray" />            <Setter Property="HorizontalAlignment" Value="Left" />            <Setter Property="VerticalAlignment" Value="Top" />        </Style>
        <Style x:Key="MiniBorderStyle"               TargetType="Border"               BasedOn="{StaticResource BorderStyle}">            <Setter Property="BorderThickness" Value="2" />            <Setter Property="Grid.ColumnSpan" Value="3" />            <Setter Property="Grid.RowSpan" Value="3" />            <Setter Property="Height" Value="134" />            <Setter Property="Width" Value="134" />        </Style>
        <Style x:Key="MiniBorderBlueStyle"               TargetType="Border"               BasedOn="{StaticResource MiniBorderStyle}">            <Setter Property="Background" Value="AliceBlue" />        </Style>
        <Style x:Key="BarBaseStyle"               TargetType="Rectangle">            <Setter Property="HorizontalAlignment" Va
@cozyplanes
cozyplanes / greedysortexample.c
Created August 19, 2017 05:19
Greedy Sort Algorithm 에시입니다.
int main(void) {
float amount = 0;
int cents = 0;
int count = 0;
int amount_left = 0;
int coin_values[] = {25, 10, 5, 1}; // an array of ints that hold the values of the coins in cents.
int i;
amount = .30;
@cozyplanes
cozyplanes / quicksort.c
Last active August 19, 2017 05:15
Quick Sort 알고리즘 입니다.
#include <stdio.h>
#include <stdbool.h>
#define MAX 9
int intArray[MAX] = {15,25,45,65,22,33,9,7,55};
void printline(int count) {
int i;
for(i = 0;i <count-1;i++) {