This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 27%] Building CXX object CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc.o | |
/opt/rh/devtoolset-9/root/usr/bin/c++ -DCARES_STATICLIB -I/root/grpc/third_party/re2 -I/root/grpc/third_party/zlib -I/root/grpc/include -I/root/grpc -I/root/grpc/third_party/address_sorting/include -I/root/grpc/build/third_party/re2 -I/root/grpc/third_party/boringssl-with-bazel/src/include -I/root/grpc/src/core/ext/upb-generated -I/root/grpc/src/core/ext/upbdefs-generated -I/root/grpc/third_party/upb -I/root/grpc/third_party/xxhash -I/root/grpc/build/third_party/zlib -I/root/grpc/build/third_party/cares/cares -I/root/grpc/third_party/cares/cares -I/root/grpc/third_party/cares/cares/include -I/root/grpc/third_party/abseil-cpp -fPIC -pthread -std=c++17 -MD -MT CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc.o -MF CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc.o.d -o CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/reso |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import os | |
import glob | |
import shutil | |
def dir_path(path): | |
if os.path.isdir(path): | |
return path | |
else: | |
raise argparse.ArgumentTypeError(f"{path} is not a valid path") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Problem 1 | |
// Write three functions that compute the sum of the numbers in a given list using a for-loop, a while-loop, and recursion. | |
#include <iostream> | |
#include <vector> | |
int recursiveSummation(std::vector<int> v) | |
{ | |
if(v.size() == 0) | |
{ return 0; } |