Preprocessor Solution

  • + 0 comments

    Macros:

    #define toStr(x) #x
    #define io(v) cin >> v 
    #define FUNCTION(name, op) inline void name(int &x, int y) {if(y op x) x = y;}
    #define INF 10000000
    #define foreach(v, i) for(int i = 0; i < v.size(); i++)