diff options
Diffstat (limited to 'eventual_safe_states.cpp')
-rw-r--r-- | eventual_safe_states.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eventual_safe_states.cpp b/eventual_safe_states.cpp index 2a79b77..6e41e3e 100644 --- a/eventual_safe_states.cpp +++ b/eventual_safe_states.cpp @@ -43,8 +43,8 @@ public: int main() { Solution obj; - vvd(int) g1 = {{1, 2}, {2, 3}, {5}, {0}, {5}, {}, {}}; - vvd(int) g2 = {{1, 2, 3, 4}, {1, 2}, {3, 4}, {0, 4}, {}}; + vvd g1 = {{1, 2}, {2, 3}, {5}, {0}, {5}, {}, {}}; + vvd g2 = {{1, 2, 3, 4}, {1, 2}, {3, 4}, {0, 4}, {}}; for (auto i : obj.eventualSafeNodes(g1)) printf("%d ", i); // expect: 2 4 5 6 printf("\n"); |