==京东内推--c++

include

include

include

include

include

include

include

include

include

include

include

using namespace std;

int main()
{
char brace;
while (cin.get(brace))
{
if(brace=='\n')
break;
int num=0;
if(brace==')'){
num++;
}
int max=0;
if(num>max){
max=num;
}
int ans=1;
for(int i=1;i<=max;++i){
ans*=i;
}
cout< }
system("pause");
return 0;
}

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
using namespace std;

int main()
{
    char brace;
    while (cin.get(brace))
    {
        if(brace=='\n')
            break;
        int num=0;
        if(brace==')'){
            num++;
        }
        int max=0;
        if(num>max){
            max=num;
        }
        int ans=1;
        for(int i=1;i<=max;++i){
            ans*=i;
        }
        cout<

你可能感兴趣的:(==京东内推--c++)