All pastes #2092519 Raw Edit

Miscellany

public text v1 · immutable
#2092519 ·published 2011-10-22 11:50 UTC
rendered paste body
#include <iostream>
#include <vector>
#include <map>
#include <multiset>
using namespace std;

struct Res {
	Res() : valeur(1.0) { }
	double valeur;
	
	Node *a, *b;
	
	bool operator<(const Res& other) {
		return a->id < other.a->id;
	}
};

struct Node {
	char id;
	vector<Res*> conn;
};



int main() {
	map<char, Node*> nodes;
	multiset<Res*> res;
	
	int N;
	
	cin >> N;
	
	for (int i = 0; i < N; i++) {
		
	}
	
}