#include <bits/stdc++.h> using namespace std; void calculate(vector<long>& result, string& s, int start, int end){ if((end - start) == 2){ if(s[start+1] >= '0' && s[start+1] <= '9'){ if(s[start+2] >= '0' && s[start+2] <= '9'){ ...