Preprocessor Solution

  • + 0 comments
    #define foreach(arg1, arg2) for(int i = 0; i < n; i++)
    #define io(arg) cin >> v
    
    #define INF 100000000
    
    
    #define minimum(arg1, arg2) if(arg1 > arg2) arg1 = arg2;
    #define maximum(arg1, arg2) if(arg1 < arg2) arg1 = arg2;
    
    #define FUNCTION(arg1, arg2) //
    
    #define toStr(arg) "Result ="