Search found 3 matches

by edumneves
Wed Apr 19, 2006 2:49 pm
Forum: Volume 3 (300-399)
Topic: 342 - HTML Syntax Checking
Replies: 31
Views: 15658

Got accepted finnally ...

Those test cases that I posted have the right solution, the problem was that the number of tags in this problem is really big and the size of the line too.
by edumneves
Tue Apr 18, 2006 4:31 am
Forum: Volume 3 (300-399)
Topic: 342 - HTML Syntax Checking
Replies: 31
Views: 15658

More cases

In this case:

4
<A> </A>
<AB><ABC>
</ABC>

1
blabla<BLA>blabla</Blalalalla>
1
blabla<BLA>blabla</BLALALALALLALALA>
2
blabla<BLA>blabla<BLALALALAL>
</BLALALALAL>
0


My W.A. solution is giving:

Test Case 1
line 4: expected </AB>
Test Case 2
line 1: bad character in tag name.
Test Case 3
line 1 ...
by edumneves
Tue Apr 18, 2006 4:09 am
Forum: Volume 3 (300-399)
Topic: 342 - HTML Syntax Checking
Replies: 31
Views: 15658

Hi,
My program is with wrong answer and all this tests here gave me the same output.

What is the correct solution for this test?

Sample input

2
<TESTE>
</TTESTE>
2
<TESTEA><TESTEB>
</TESTEA></TESTEB>
0


Mine output :

Test Case 1
line 2: expected </TESTE>
Test Case 2
line 2: expected ...

Go to advanced search