J

Results 2 issues of J

只用一次循环就ok啦。 `#include #include using namespace std; int main() { string str; cin >> str; long long p = 0; long long a = 0; int begin = 0; while(str[begin] !=...

第19行和第22行的两个函数stack-empty?和stack-size,应该用(stack s)而不是(cdr s)。