From a0089654d618055f6ef6ffc2f025eb9029da6ba3 Mon Sep 17 00:00:00 2001 From: ZhuangYumin Date: Tue, 26 Sep 2023 16:16:09 +0800 Subject: [PATCH] Finally Merged update of advanced.cpp --- src/advanced.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/advanced.cpp b/src/advanced.cpp index c16bd81..943e7c1 100644 --- a/src/advanced.cpp +++ b/src/advanced.cpp @@ -33,12 +33,10 @@ void Execute(int row, int column) { std::streambuf *old_input_buffer = std::cin.rdbuf(); std::cin.rdbuf(iss.rdbuf()); // Redirect the input to the string, which // stores the output recently - // debug: call PrintMap() to see the map - PrintMap(); ReadMap(); std::cin.rdbuf(old_input_buffer); // Restore the input buffer - // PrintMap(); // These two lines may help you debug - // std::cout << std::endl; + PrintMap(); // These two lines may help you debug + std::cout << std::endl; } int main() {