equal
deleted
inserted
replaced
1 // -*- mode:C++ -*- |
1 // -*- mode:C++ -*- |
2 |
2 |
3 #include <queue> |
3 #include <queue> |
4 #include<math.h> |
4 #include<math.h> |
5 #include<hugo/smart_graph.h> |
5 #include<lemon/smart_graph.h> |
6 #include"bench_tools.h" |
6 #include"bench_tools.h" |
7 |
7 |
8 using namespace std; |
8 using namespace std; |
9 using namespace hugo; |
9 using namespace lemon; |
10 |
10 |
11 inline int numOfOnes(int n,int dim) |
11 inline int numOfOnes(int n,int dim) |
12 { |
12 { |
13 int s=0; |
13 int s=0; |
14 for(int i=0;i<dim;i++) { |
14 for(int i=0;i<dim;i++) { |