You are viewing a single comment's thread. Return to all comments →
It worked for me. Can this refactored?
#define INF (unsigned)!((int)0) #define FUNCTION(name,operator) inline void name(int ¤t, int candidate) {!(current operator candidate) ? current = candidate : false;} #define io(v) cin>>v #define toStr(str) #str #define foreach(v, i) for (int i = 0; i < v.size(); ++i)
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 →
It worked for me. Can this refactored?