I hereby claim:
- I am panda2134 on github.
- I am panda_2134 (https://keybase.io/panda_2134) on keybase.
- I have a public key ASCrQVom992fxUBjpsbpK0EoMtzITtRMsSVLS_wrnSkOnQo
To claim this, I am signing this object:
This Gist is set to store files of Minecraft bugs |
/* | |
LANG:C++11 | |
PROG:beads | |
USER:smallpa2 | |
*/ | |
#ifdef DEBUG | |
#include<iostream> | |
#else | |
#include<fstream> | |
#endif |
--[[ | |
OpenPrograms package manager, browser and downloader, for easy access to many programs | |
Author: Vexatos | |
Warning! This file is just an auto-installer for OPPM! | |
DO NOT EVER TRY TO INSTALL A PACKAGE WITH THIS! | |
Once you ran OPPM once, you can remove the floppy disk | |
and run the installed OPPM version just fine. | |
]] | |
local component = require("component") |
local fs = require("filesystem") | |
local shell = require("shell") | |
fs.mount(...,"/op-manager") | |
shell.setPath(shell.getPath() .. ":/op-manager") |
{ | |
--default installation path | |
path="/usr", | |
--Additional repositories and packages go here, for correct package syntax, check https://github.com/OpenPrograms/Vexatos-Programs/blob/master/op-manager/etc/example-config.cfg | |
repos={ | |
} | |
} |
#include<iostream> | |
#include<cstring> | |
#include<vector> | |
using namespace std; | |
int n,m; | |
bool vis[100010]; | |
int price[100100],minp[100100],maxp[100100]; | |
vector<int> Edge[500500],revEdge[500500]; | |
void dfs1(int i,int minn){ | |
minp[i]=min(price[i],minn); |
#include<iostream> | |
#include<cstring> | |
using namespace std; | |
int d1[1000],d2[1000],V[1000],S,n; | |
bool vis1[1000],vis2[1000]; | |
void init(); | |
int dp1(int m); |
I hereby claim:
To claim this, I am signing this object:
00000000 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a | |
00000010 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a | |
00000020 0d 0a 3c 68 74 6d 6c 3e 0d 0a 3c 21 2d 2d 3c 21 <html> <!--<! | |
00000030 44 4f 43 54 59 50 45 20 48 54 4d 4c 3e 2d 2d 3e DOCTYPE HTML>--> | |
00000040 0d 0a 3c 68 65 61 64 3e 0d 0a 0d 0a 3c 6d 65 74 <head> <met | |
00000050 61 20 68 74 74 70 2d 65 71 75 69 76 3d 22 58 2d a http-equiv="X- | |
00000060 55 41 2d 43 6f 6d 70 61 74 69 62 6c 65 22 20 63 UA-Compatible" c | |
00000070 6f 6e 74 65 6e 74 3d 22 49 45 3d 35 22 20 2f 3e ontent="IE=5" /> | |
00000080 0d 0a 0d 0a 0d 0a 3c 74 69 74 6c 65 3e 3c 2f 74 <title></t | |
00000090 69 74 6c 65 3e 0d 0a 3c 6d 65 74 61 20 68 74 74 itle> <meta htt |
const prob1 = { | |
initial: 'intro', | |
states: { | |
intro: { value: {title:"123"}, on: { NEXT: 'page1' }}, | |
page1: { on: { OK: 'page2', WRONG: 'page3' } }, | |
page2: { on: { OK: 'page4', WRONG: 'page6' } }, | |
page3: { on: { NEXT: 'page2'}}, | |
page4: { on: { OK: 'page5', WRONG: 'page7'}}, | |
page5: {}, | |
page6: { on: { NEXT: 'page4'}}, |