#include "ParenthesesDiv2Easy.cpp" int main(int argc, char **argv) { int i; class ParenthesesDiv2Easy TheClass; int retval; string s; if (argc != 2) { fprintf(stderr, "usage: a.out num\n"); exit(1); } /* s = ; */ if (atoi(argv[1]) == 0) { s = "(())"; } if (atoi(argv[1]) == 1) { s = "()()()"; } if (atoi(argv[1]) == 2) { s = "(())()"; } if (atoi(argv[1]) == 3) { s = "((())())(((())(()))())"; } if (atoi(argv[1]) == 4) { s = "()"; } retval = TheClass.getDepth(s); cout << retval << endl; exit(0); }