commit 1637c7d79df159a2076f2f496ace41259e1de4c5
parent 7b544acbe7498ace347279ec8649aed76c95e7b6
Author: Jachiet Louis <louis@jachiet.com>
Date: Sat, 5 Apr 2014 12:57:50 +0200
git Merge branch 'master' of gitorious.org:ens-ulm-1/ens-ulm-1
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/contest/mc/lecture.cpp b/contest/mc/lecture.cpp
@@ -29,6 +29,16 @@ vector<vector<int> > adj(N_SOMMETS_MAJ); // matrice d'adjacence
map<pair<int, int>, int> id_arete;
+void affiche_sortie(vector<int> trajectoires[]) {
+ printf("%d\n", n_vehicules);
+ for (int i=0; i< n_vehicules; i++) {
+ printf("%d\n", (int) trajectoires[i].size());
+ for (unsigned int j=0; j<trajectoires[i].size(); j++) {
+ printf("%d\n", trajectoires[i][j]);
+ }
+ }
+}
+
void lecture_entree(){
scanf("%d",&n_sommets);
scanf("%d",&n_aretes);