In this HackerRank Preprocessor Solution problem in c++ you are required to add the preprocessor macros necessary to make the code work.

HackerRank Preprocessor Solution in C++ problem solution

 

HackerRank Preprocessor Solution in C++ problem solution

/* Enter your macros here */
#define toStr(str) "Result ="
#define io(x) cin >> x
#define FUNCTION(a, b) 
#define INF 10000000
#define minimum(min, x) if(x < min) min = x
#define maximum(max, x) if(x > max) max = x
#define foreach(x, i) for(int i = 0; i < x.size(); i++)