Category | Algorithms | Example |
---|---|---|
DFS | O(V+E) | O(V+E) |
BFG | O(V+E) | O(V+E) |
BFG | O(V+E) | O(V+E) |
BFG | O(V+E) | O(V+E) |
BFG | O(V+E) | O(V+E) |
BFG | O(V+E) | O(V+E) |
Category | instruction count | Excuting time |
---|---|---|
Basic | 1B | 42s |
--- | 0.1B | 4.6s |
--- | 10M | 0.4s |
Multiple | 1B | 25s |
--- | 0.1B | 2.5s |
--- | 10M | 0.25s |
Plus | 1B | 25s |
--- | 0.1B | 2.5s |
--- | 10M | 0.25s |
Divide | 1B | 25s |
--- | 0.1B | 2.5s |
--- | 10M | 0.25s |