Skip to content

Instantly share code, notes, and snippets.

import java.util.*;
public class MemoizeSearch {
static Scanner stdin;
static int[] w,v;
static int n,W;
static int[][] KNP;
static int MAX_N = 500, MAX_W = 10000;
public static void main(String[] args) {
stdin = new Scanner(System.in);
new MemoizeSearch();
import java.util.ArrayDeque;
public class MaxFee {
/**
* @param args
* @throws Exception
*/
public static void main(String[] args) throws Exception {
@lzsucceed
lzsucceed / CustomizedTouchInterceptor
Last active December 21, 2015 14:28
I modified TouchInterceptor.java for my purpose. It can deal with various height items.
package com.music;
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0