KWIC-indexing.............

M

Mars

This is a question from the ACM contest question archive......
(you can also register for the demo online judge to test yourself,
http://acm.uva.es/problemset/)

http://acm.uva.es/p/v1/123.html

If I store n ignore words to an array,
then I should check n*(length of each title)*(no. of titles)....

Obviously it is not good...
(and in fact it can't be accepted by the demo judge...)

Any idea??
 
J

Jack Klein

This is a question from the ACM contest question archive......
(you can also register for the demo online judge to test yourself,
http://acm.uva.es/problemset/)

http://acm.uva.es/p/v1/123.html

If I store n ignore words to an array,
then I should check n*(length of each title)*(no. of titles)....

Obviously it is not good...
(and in fact it can't be accepted by the demo judge...)

Any idea??

What is your C question?

Try an algorithms group like
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,159
Messages
2,570,881
Members
47,418
Latest member
NoellaXku

Latest Threads

Top