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 "local_feature.hpp" | |
int main(void) { | |
LocalFeature local_feature(1.2, 1.3, 1.4); | |
std::stringstream ss; | |
boost::archive::text_oarchive oa{ss}; | |
oa << local_feature; | |
std::string s = ss.str(); | |
for (int i = 0; i < s.size(); i++) |
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; | |
struct Graph { | |
int n, source, sink; | |
vector<vector<int>> c; | |
void Initialize(int _n) { | |
n = _n; | |
c = vector<vector<int>>(n, vector<int>(n, 0)); |
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; | |
struct Graph { | |
int n, source, sink; | |
vector<vector<int>> c; | |
void Initialize(int _n) { | |
n = _n; | |
c = vector<vector<int>>(n, vector<int>(n, 0)); |
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; | |
struct Graph { | |
int n, source, sink; | |
vector<vector<int>> c; | |
void Initialize(int _n) { | |
n = _n; | |
c = vector<vector<int>>(n, vector<int>(n, 0)); |
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
// 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
87 19 | |
-143643802 -20 -79 | |
-185148115 -39 -20 | |
-510980509 41 -98 | |
790982811 -100 -80 | |
-984734330 61 62 | |
252570482 -60 22 | |
405268968 42 -58 | |
-943220801 -59 61 | |
26714031 -100 -39 |
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
#ifndef ZP_H | |
#define ZP_H | |
#include <iostream> | |
#include <utility> | |
#include "uberzahl.h" | |
using namespace std; | |
/* |
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
# use UTF8 | |
set -g utf8 | |
set-window-option -g utf8 on | |
# make tmux display things in 256 colors | |
set -g default-terminal "screen-256color" | |
# set scrollback history to 64k | |
set -g history-limit 65536 |
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
from play import KeyUp, KeyDown, KeyPress | |
from time import sleep | |
import numpy as np | |
import cv2 | |
from mss import mss | |
from PIL import Image | |
from Quartz.CoreGraphics import CGEventCreateKeyboardEvent | |
from Quartz.CoreGraphics import CGEventPost |
NewerOlder