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> | |
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"); | |
} |
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 <vector> | |
#include <algorithm> | |
using namespace std; | |
int n; | |
int color_weight[2005]; | |
unsigned int answer[2005]; | |
vector< pair<int,int> > table[2005]; |
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
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); |
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
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; |
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
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) | |
{ |
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
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; |
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 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") |
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
var GrandParent = $Class({ | |
value: '할아버지' | |
}); | |
var Parent = $Class({ | |
value: '아버지', | |
getGrandFather: function(){ | |
LOG(this.$super.value); | |
} | |
}).extend(GrandParent); |
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> | |
<script type="text/javascript"> | |
var myBody = null; | |
var canvas = null; | |
var context = null; | |
var width_canvas = 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
<!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; |