Topological sort: Difference between revisions

m
(→‎{{header|Python}}: Add Python 3.9 graphlib)
m (→‎{{header|C++17}}: typo fixed)
Line 992:
 
=={{header|C++17}}==
<lang c>#include <unordered_map>
#include <unordered_map>
#include <unordered_set>
#include <vector>
Line 1,136 ⟶ 1,135:
}
 
//tasks.clear(); // uncomment this line to distroydestroy all tasks in sorted order.
 
std::cout << "exiting..." << std::endl;
 
return 0;
}</lang>
}
 
</lang>
 
{{out}}<lang>I - depends on none
Anonymous user