Skip to content

Instantly share code, notes, and snippets.

View hanjae-jea's full-sized avatar

Hanjae hanjae-jea

View GitHub Profile
@hanjae-jea
hanjae-jea / sample2.cpp
Last active August 29, 2015 14:17
한재한테 과제 부탁
#include <stdio.h>
int main(int argc, char* argv[])
{
int sum = 0;
for( int i = 1 ; i <= 100 ; i ++ ){
sum = sum + i;
}
printf("1 to 100 sum = %d\n");
}
@hanjae-jea
hanjae-jea / challenge.cpp
Created May 28, 2015 01:25
도전 과제 풀기
#include <stdio.h>
#include <vector>
#include <algorithm>
using namespace std;
int n;
int color_weight[2005];
unsigned int answer[2005];
vector< pair<int,int> > table[2005];
import java.io.*;
public class GridSearch{
int R, C, r, c;
String G[], P[];
public static void main(String args[]){
Scanner in = new Scanner(System.in);
int test_case = in.nextInt();
for( int test = 0 ; test < test_case ; test ++){ // T
Boolean result = test(in);
import java.io.*;
import java.util.Scanner;
public class Slipp01{
static int R, C, r, c;
static String G[], P[];
public static void main(String args[]){
Scanner in = new Scanner(System.in);
int test_case = in.nextInt();
Boolean result = false;
import java.util.*;
public class test {
static int n,m;
static int uniqueIntegerCount = 0;
static int answer = 0;
static int[] cnt = new int[10000001];
static Deque deque = new ArrayDeque<>();
static void insert(int num)
{
import java.util.*;
public class test {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
Deque deque = new ArrayDeque<>();
Map map = new HashMap();
int n = in.nextInt();
int m = in.nextInt();
int uniqueIntegerArray = 0;
int answer = 0;
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support import expected_conditions as EC
import time
driver = webdriver.Firefox()
driver.get("https://www.packtpub.com/packt/offers/free-learning")
var GrandParent = $Class({
value: '할아버지'
});
var Parent = $Class({
value: '아버지',
getGrandFather: function(){
LOG(this.$super.value);
}
}).extend(GrandParent);
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>벽돌깨기</title>
<script type="text/javascript">
var myBody = null;
var canvas = null;
var context = null;
var width_canvas = 0;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>벽돌깨기</title>
<script type="text/javascript">
var myBody = null;
var canvas = null;
var context = null;
var width_canvas = 0;