3 ms·
Well you can reduce the +/- notation further by allowing yourself to (after removing all +/- pairs) to remove pairs of sequential + tokens, and if it reduces to
by aidenn0 8y ago
Well you can reduce the +/- notation further by allowing yourself to (after removing all +/- pairs) to remove pairs of sequential + tokens, and if it reduces to an empty string then it's an even number, otherwise it's an odd number.