From f339f1d3151c8d9a4c97a443251d79fa3e9db14b Mon Sep 17 00:00:00 2001 From: ElzaCS <49568678+ElzaCS@users.noreply.github.com> Date: Sun, 19 May 2019 10:03:03 +0300 Subject: [PATCH] Update README.md --- README.md | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 89 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 20d51b6..fa8e8bb 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,93 @@ # SaveTheEarth website_sample - -Hello! My name is May. -You might know my nephew, Peter Parker. -We are just your average neighbours, if you ignore my superpowers. - -But Peter should never know about my powers. + Because when you can do the things I can do, but don't do them, and something bad happens, it's your fault too. Or as Ben used to say, with great power comes great responsibility. + +#include +typedef struct edge { + int u,v,w; +}edge; + +typedef struct edgelist { + edge data[50]; + int n; +}edgelist; + +edgelist elist; +int G[50][50],n; +edgelist spanlist; +void kruskal(); +int find(int belongs[],int vertexno); +void union1(int belongs[],int c1,int c2); +void sort(); +void print(); + +void main() +{ + int i,j,total_cost; + printf("\nEnter number of vertices:"); scanf("%d",&n); + printf("\nEnter the adjacency matrix:\n"); + for(i=0;ielist.data[j+1].w) { + temp=elist.data[j]; + elist.data[j]=elist.data[j+1]; + elist.data[j+1]=temp; } +} + +void print() +{ + int i,cost=0; + for(i=0;i