diff options
Diffstat (limited to 'max_len_concat_str.cpp')
-rw-r--r-- | max_len_concat_str.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/max_len_concat_str.cpp b/max_len_concat_str.cpp index e360961..b364d26 100644 --- a/max_len_concat_str.cpp +++ b/max_len_concat_str.cpp @@ -17,7 +17,7 @@ public: for (int i = concat.size() - 1; i >= 0; i--) if ((concat[i] & u).none()) { concat.push_back(concat[i] | u); - ans = max(ans, (int)(concat[i].count() + u.count())); + ans = max(ans, (concat[i].count() + u.count())); } return ans; } |