ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1177. Like Comparisons

Could anyone show me what the correct output is for this test case
Posted by Dinh Hong Minh 25 Feb 2002 22:09

 Here is this test case

------------
4
'[]' like '[%]'
'[]' like '[_]'
'' like '%'
'a' like '[%]'
------------

Thank you very much !!!
Re: Could anyone show me what the correct output is for this test case
Posted by I have answers to all your questions :) 25 Feb 2002 22:18
NO
NO
YES
NO
Thanks, and what about this?
Posted by Dinh Hong Minh 26 Feb 2002 08:33
2
'[' like '[[]'
'a[' like '_[][]'

Thanks.
Re: Thanks, and what about this?
Posted by AOY++ 26 Feb 2002 11:00
i think the answer of  'a[' like '_[][]' should be YES

but i don't know if '' like '[]'

my program got WA again and again...
Re: Thanks, and what about this?
Posted by I have answers to all your questions :) 26 Feb 2002 11:57
'a[' like '_[][]' => NO
'' like '[]' => NO
'[' like '[[]' => YES