Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
#include <algorithm>
#include <vector>
#include <map>
#include <set>
#include <utility>
#include <stdio.h>
using namespace std;
import java.io.File;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class PKU3368 {
static ArrayList<Integer> ci;
static int[] max;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class Main {
static ArrayList<Integer> ci;
static int[] max;
public static void main(String[] args) throws Exception {
@tomerun
tomerun / BinTree.java
Created August 25, 2012 16:21
Introduction to Algorithm exercise 12.3-6
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Random;
public class BinTree {
static Random rand = new Random();
public static void main(String[] args) throws Exception {
題目 | 登壇者
---------------------------------------------------------------------------------------
講演「プログラミングコンテストとdata science」 | iwi
講演「プログラミングコンテストの大衆化」 | colun
講演「AOJを支える技術」 | 会津大の人?
講演「ICFPCのおもいで」 | shinh
講演「ICPC審判団の考えていること」 | kinaba
対談「この過去問がすごい!」 | simezi_tan,Komaki
会談「問題セットのつくりかた」 | rng_58,chokudai,LayCurse
@tomerun
tomerun / gist:aedbe6a780fe0a762c9b
Created November 4, 2014 10:55
CODE RUNNER予選B
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import java.util.Scanner;
@tomerun
tomerun / G.java
Last active November 30, 2015 12:54
ICPC2015つくばG問題
import java.util.Scanner;
public class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
char[] S = sc.next().toCharArray();
int N = S.length;
long K = sc.nextLong();
int[][] minApp = new int[N + 1][N + 1];
input;jump 15
pop;*
pop;*
pop;*
pop;*
pop;*
pop;*
pop;*
pop;dup
pop;dup
/*
Change log
----------
*/
import javax.swing.*;
import java.awt.*;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.event.WindowAdapter;
@tomerun
tomerun / seed2.txt
Last active January 20, 2019 15:29
MM106
60
284
11050922
478
218
203568
94
531
12435389
110