View heee
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
https://github.com/ravikiran0606/FoodWasteManagement/invitations |
View tcget.py
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
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
''' | |
tcget.py | |
Kosei Moriyama <cou929@gmail.com> | |
''' | |
import BeautifulSoup |
View mst.cpp
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; | |
vector<int>d,parent,mark; | |
vector< pair<int,int> >edges; | |
map< pair<int,int> ,int>weight; | |
vector< vector< pair<int,int> > >graph; | |
void prim(int s,int n){ |
View SP in Weighted Graph.cpp
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; | |
vector<int>d; | |
vector< vector< pair<int,int> > >graph; | |
vector<bool>mark; | |
void dijkstra(int s,int n){ | |
int u,i; |
View SP in Unweighted Graph.cpp
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; | |
vector< vector<int> >graph; | |
vector<int>d; | |
vector<bool>vis; | |
void bfs(int s){ | |
int t; |
View graphsearch.cpp
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; | |
vector< vector<int> >graph; | |
vector<bool>vis; | |
void dfs(int s){ | |
vis[s]=true; | |
cout<<s<<" "; |
View DFS.cpp
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; | |
vector< vector<int> >graph; | |
vector<bool>vis; | |
void dfsvisit(int s){ | |
vis[s]=true; | |
cout<<s<<" "; |
View Segment.cpp
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 <string> | |
#include <sstream> | |
#include <vector> | |
#include <set> | |
#include <map> | |
#include <list> | |
#include <queue> | |
#include <stack> | |
#include <memory> |
View ExpressionValidation.cpp
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> | |
#define maxi 1000 | |
using namespace std; | |
template<class T> | |
class sstack{ | |
T a[maxi]; | |
int top; |
View dualstack.cpp
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> | |
#define maxi 10 | |
using namespace std; | |
template<class T> | |
class dualstack{ | |
T a[maxi]; | |
int top1,top2; |
NewerOlder