This file contains 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 cv2 | |
import numpy as np | |
# Windows dependencies | |
# - Python 2.7.6: http://www.python.org/download/ | |
# - OpenCV: http://opencv.org/ | |
# - Numpy -- get numpy from here because the official builds don't support x64: | |
# http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy | |
# Mac Dependencies |
This file contains 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
// by ferng1021 | |
#include <assert.h> | |
#include <stdarg.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <algorithm> | |
#include <unordered_map> | |
#include <vector> | |
//#define DEBUG(...) fprintf(stderr, __VA_ARGS__) |
This file contains 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
// by tmt514 | |
#include <algorithm> | |
#include <cmath> | |
#include <cstdio> | |
#include <cstdlib> | |
#include <cstring> | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#define SZ(x) ((int)(x).size()) |
This file contains 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<bits/stdc++.h> | |
using namespace std; | |
typedef long long ll; | |
typedef pair<int,int> pii; | |
#define F first | |
#define S second | |
#define REP(i,n) for(int i=0;i<(n);i++) | |
#define pb push_back | |
const int maxn=100005; | |
const ll INF64=2000000000000000000; |
This file contains 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
// by tmt514 | |
#include <algorithm> | |
#include <cmath> | |
#include <cstdio> | |
#include <cstdlib> | |
#include <cstring> | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#define SZ(x) ((int)(x).size()) |
This file contains 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 "testlib.h" | |
#include <iostream> | |
#include <sstream> | |
using namespace std; | |
const int N = 100005, M = 100005; | |
int a[N]; | |
int main(int argc, char *argv[]) { | |
registerGen(argc, argv, 1); |
This file contains 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 "testlib.h" | |
#include <iostream> | |
#include <sstream> | |
using namespace std; | |
const int N = 100005, M = 100005; | |
int a[N]; | |
int main(int argc, char *argv[]) { | |
registerGen(argc, argv, 1); |
This file contains 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
// by tmt514 | |
#include <algorithm> | |
#include <cmath> | |
#include <cstdio> | |
#include <cstdlib> | |
#include <cstring> | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#define SZ(x) ((int)(x).size()) |
This file contains 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
100: {1, 2, 3, 12, 14, 16, 17, 18, 20} | |
100: {1, 2, 3, 7, 12, 14, 16, 17, 18, 20} | |
100: {1, 2, 6, 10, 12, 13, 14, 17, 19} | |
100: {1, 2, 6, 10, 12, 13, 14, 19} | |
100: {1, 3, 4, 9, 10, 12, 14, 15, 19, 20} | |
100: {1, 3, 4, 9, 10, 12, 15, 19, 20} | |
100: {1, 4, 10, 14, 16, 18, 19} | |
100: {1, 4, 5, 7, 8, 10, 13, 14, 16, 18, 19, 20} | |
100: {1, 4, 5, 7, 8, 10, 13, 14, 18, 19, 20} | |
100: {1, 4, 6, 7, 10, 12, 15, 16, 18, 20} |
This file contains 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
ftfttffffttftttftffftftfftffffftffttftftfttffttttttfftttfttttfttfffffffttfftftttftftftfttfffffffftfffffffffffftftftftftfttttfftfttttffttfffttfffftftttfftttfftfffttftfftftfftffftffffftftttftfftffftfttffffffttftftfttffffftfttftfftfftfffffftttfttttftftttttfftttttfttffffftttfttttttttttfftftttfftttffftttftttfttttfffttftfttfftftttftftffttttffftfttttttfttftttttffttttffttfftffffttttftttfffftfftttftftftftfftttttfttttftttfftftffttfftfttttftfttttttttfftfttfftftttfttffftffffttffttttftttttttftfftftfffffttfftttfttftfffffftftfttttffffftttftfftffftftfftfftfffftfftftffttffffttttffftftftffttftfttftftfffftftfftttttfttfftttttttttttffffftfttfffffffftfffftftffttfftfffftfttfftttftfffftftfffttfffftttttttfffttftttffttffttftfftttfffftffftftfttffttfftttfffttftftfffttfftttffttttfffftfffttfffttffttftffftffttfffttftftttftttftffftftffftttftfftftfftftfttftttftffttftfttffftffffttffffttttfftfttttttttfttfttftfftftfffftftttttfttftfftfftfffftffffttftttttftftftfttffffftttftftfffffftfffttftftttttfttftfftttfffftffttttttftf | |
tffttfffftfftfffffftttftf |