Skip to content

Instantly share code, notes, and snippets.

View HyeonWooKim's full-sized avatar

HYEONWOO KIM HyeonWooKim

View GitHub Profile
@HyeonWooKim
HyeonWooKim / gist:ecfe308a702c4a0fa333
Created February 26, 2016 17:53
실전 C프로그래밍 문제모음
/**************************************
국민대학교 컴퓨터공학부 20103324 김현우
문제 8 : 시간 계산
***************************************/
#include <iostream>
#include <fstream>
#include <cstdlib>
@HyeonWooKim
HyeonWooKim / calculator.c
Created February 26, 2016 17:50
스택을 이용한 수식 계산기
/**********************
수식 입력 계산기
제작 : 20103324(국민대학교)
***********************/
#include <stdio.h>
#include <stdlib.h>
#define TRUE 1
#define FALSE 0
@HyeonWooKim
HyeonWooKim / 10828.cpp
Last active February 26, 2016 18:19
배열을 이용한 스택 구현(BOJ 10828)
#include<iostream>
#include<string>
using namespace std;
int stack[10000],top;
void push(int n){
stack[top++]=n;
}
void pop(){