Update divide_and_conquer/karatsuba_algorithm_for_fast_multiplication.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Swastika Gupta
2021-08-05 23:52:10 +05:30
committed by GitHub
parent d8690ee587
commit 2b8d67addb

View File

@@ -141,7 +141,7 @@ static void test() {
// 2nd test
std::string s21 = "11";
std::string s22 = "1010";
std::cout << "Test 2... ";
std::cout << "2nd test... ";
assert(divide_and_conquer::karatsuba_algorithm::karatsuba_algorithm(
s21, s22) == 30); // here the multiplication is 30
std::cout << "passed" << std::endl;