Search found 1 match
- Sun Oct 13, 2013 5:34 pm
- Forum: Volume 6 (600-699)
- Topic: 673 - Parentheses Balance
- Replies: 243
- Views: 79748
Re: 673 Parentheses Balance - WA ?
#include <stdio.h>
#include <iostream>
#include <math.h>
#include <string.h>
#include <algorithm>
using namespace std;
bool check(char *in)
{
if(strcmp(in,"")==0)
return true;
if(in[0]=='\0')
return true;
else
{
char temp[169];
int i,start,end,j;
start=end=0;
int count;
char ch;
bool ...