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<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); |
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
{ | |
--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={ | |
} | |
} |
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
local fs = require("filesystem") | |
local shell = require("shell") | |
fs.mount(...,"/op-manager") | |
shell.setPath(shell.getPath() .. ":/op-manager") |
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
--[[ | |
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") |
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
/* | |
LANG:C++11 | |
PROG:beads | |
USER:smallpa2 | |
*/ | |
#ifdef DEBUG | |
#include<iostream> | |
#else | |
#include<fstream> | |
#endif |
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
This Gist is set to store files of Minecraft bugs |
NewerOlder