Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 17 additions & 18 deletions Nesting_depth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,22 @@ using namespace std;
#define endl "\n";
int no = 1;
void D(){

string s ;cin>>s;

}

int main(int argc, char const *argv[])
{
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
cout.precision(0);
cout<<fixed;

ll n , m,k ,pt(0),ct(0) ,x,y;
ll t =1;
cin>>t;
while(t--){
string s ;cin>>s;
string res;
int n = s.length();

Expand All @@ -31,21 +45,6 @@ void D(){
while(prev--) res+=')';
cout<<"Case #"<<no<<": "<<res<<endl;
no++;
}

int main(int argc, char const *argv[])
{
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
cout.precision(0);
cout<<fixed;

ll n , m,k ,pt(0),ct(0) ,x,y;
ll t =1;
cin>>t;
while(t--){
D();
}

}
}