diff options
Diffstat (limited to '2024/1B.cpp')
| -rw-r--r-- | 2024/1B.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/2024/1B.cpp b/2024/1B.cpp index f6dff14..12ef4a7 100644 --- a/2024/1B.cpp +++ b/2024/1B.cpp @@ -6,9 +6,9 @@ int main(int argc, char const *argv[]) { int res = 0; std::vector<std::string> file = readfile("2.in"); - if (file.empty()) { + if (file.empty()) return 1; - } + std::vector<int> left, right; for (const auto &line : file) { int n1, n2; @@ -38,4 +38,4 @@ int main(int argc, char const *argv[]) } std::cout << res << std::endl; -}
\ No newline at end of file +} |
