Miscellany
public text v1 · immutable#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++) {
}
}