We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
#define toStr(a) #a#define io(a) cin >> a#define minimum(a, b) a = a < b ? a : b#define maximum(a, b) a = a > b ? a : b#define FUNCTION(min_max, signal) void calc_##min_max(int& a, int b) {a = a signal b ? a : b;}#define foreach(a, b) for(int b = 0; b < a.size(); b++)#define INF 10000000
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Preprocessor Solution
You are viewing a single comment's thread. Return to all comments →