equal
deleted
inserted
replaced
35 |
35 |
36 using namespace lemon; |
36 using namespace lemon; |
37 |
37 |
38 int main(int argc, const char *argv[]) { |
38 int main(int argc, const char *argv[]) { |
39 const int n = argc > 1 ? std::atoi(argv[1]) : 20; |
39 const int n = argc > 1 ? std::atoi(argv[1]) : 20; |
40 const int e = argc > 2 ? std::atoi(argv[2]) : static_cast<int>(n * log(n)); |
40 const int e = argc > 2 ? std::atoi(argv[2]) : static_cast<int>(n * std::log(double(n))); |
41 const int m = argc > 3 ? std::atoi(argv[3]) : 100; |
41 const int m = argc > 3 ? std::atoi(argv[3]) : 100; |
42 |
42 |
43 SmartDigraph digraph; |
43 SmartDigraph digraph; |
44 |
44 |
45 std::stringstream ss; |
45 std::stringstream ss; |