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.
Search found 3 matches
- Wed Apr 19, 2006 2:49 pm
- Forum: Volume 3 (300-399)
- Topic: 342 - HTML Syntax Checking
- Replies: 31
- Views: 15658
- 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 ...
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 ...
- Tue Apr 18, 2006 4:09 am
- Forum: Volume 3 (300-399)
- Topic: 342 - HTML Syntax Checking
- Replies: 31
- Views: 15658