-
Notifications
You must be signed in to change notification settings - Fork 16
/
tsort.txt
36 lines (30 loc) · 1.54 KB
/
tsort.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
TSORT
tsort [FILE]... #Produit un rangement topolique d'un [FILE]...
#(concaténés si plusieurs) considéré comme un directed
#acyclic graph.
#[FILE]... par défaut est stdin : on peut donc rediriger
#son input
#
#Exemple :
FICHIER GRAPHE
3 8
3 10 7 __ 5 3
5 11 \ \_ / /|
7 8 \ /\__ / |
7 11 * * \ * |
8 9 11__ *8 |
11 2 / \ \_ / |
11 9 / \ /\__ |
11 10 * * * \ *
2 9 *10
TRI
3
5
7
11
8
10
2
9