summaryrefslogtreecommitdiff
path: root/mod/code/cses/problems/1069.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mod/code/cses/problems/1069.cpp')
-rw-r--r--mod/code/cses/problems/1069.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/mod/code/cses/problems/1069.cpp b/mod/code/cses/problems/1069.cpp
deleted file mode 100644
index 232d2f7..0000000
--- a/mod/code/cses/problems/1069.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-#include <iostream>
-
-int main() {
- std::string input;
- std::cin >> input;
-
- auto max = 0;
- auto curr = '-';
- auto count = 0;
-
- for (auto const ch : input) {
- if (curr != ch) {
- curr = ch;
- count = 0;
- }
-
- count += 1;
- max = std::max(max, count);
- }
-
- std::cout << max;
- return 0;
-}