Afişează mesaje
Pagini: [1]
1  infoarena - concursuri, probleme, evaluator, articole / Arhiva de probleme / Răspuns: Răspuns: 087 Gard : Iulie 21, 2010, 01:48:27
I can't remember the exact details, but you should use a deque in order to improve the DP to run in O(N*K). If this hint is doesn't help you enough, I'll think of the problem in a couple of days and post a more detailed solution.
hm.. I still don't get the idea how to solve it with a deque Sad Further helps needed Smile
2  infoarena - concursuri, probleme, evaluator, articole / Arhiva de probleme / Răspuns: 087 Gard : Iulie 12, 2010, 11:14:09
hm.. thx for replying Smile. I would be happy if someone can give me some hints and I tried it myself  Confused
3  infoarena - concursuri, probleme, evaluator, articole / Arhiva de probleme / Răspuns: 087 Gard : Iulie 08, 2010, 10:24:37
Hi,
I am stuck in this problem  sad, could someone explain how to solve it in O(N*K)?

Thanks

Hi,
I am stuck in this problem  sad, could someone explain how to solve it in O(N*K)?

Thanks
any body here? Please help me Cry

It would be nice if you would edit your previous messages when consecutively posting on the same subject.

ah.. sorry for that. Ok I will do it from now on. Thx for the advice
4  infoarena - concursuri, probleme, evaluator, articole / Arhiva de probleme / Răspuns: 935 Logs : Decembrie 25, 2009, 15:49:12
Unfortunately, I don't know other people outside Romania who use this site. I got this site when I google about something related to programming... after several hours googling, I finally found this site and I'm interested in it.  Smile
5  infoarena - concursuri, probleme, evaluator, articole / Arhiva de probleme / Răspuns: 935 Logs : Decembrie 25, 2009, 10:38:08
Thanks for your reply. Well google translator is really a great tool which helps me to translate those problems peacefingers. But some problems are not translated correctly. I hope one day, there will be an English version for this site.  Very Happy

6  infoarena - concursuri, probleme, evaluator, articole / Arhiva de probleme / Răspuns: 935 Logs : Decembrie 25, 2009, 09:55:21
Hi, dude..
I'm non Rumanian but I love this site. I just found something really annoying. Huh
http://infoarena.ro/job_detail/377564

My 8-th test case:
8   532ms   340kb   Time limit exceeded.   0

My 9-th test case:
9   600ms   380kb   OK   10

Well we can clearly see that the 8th test case( 532ms which is smaller than 0.6 sec) got TLE while my 9th test case (exactly 0.6 sec) got OK. Can someone explain how does it happen?

Thanks for your attention.
Pagini: [1]
Powered by SMF 1.1.19 | SMF © 2006-2013, Simple Machines