I HAVE AC WITHOUT PRECALCULATE!!!!!!!!!!
I HAVE ACCEPTED WITHOUT PRECALCULATE!!!!!!!!!! MY PROG SOLVE THIS PROBLEM FOR 0.046 ms AND USE 650 kb. I think, that limitation must be bigest: For Example 10^180.
There is no need to increase N (+)
Yes, there are some solutions that may fit TL without precalc. Ilay Grebnov's first (Pascal) solutions, for example. There is absolutely no need to increase N.
Edited by moderator 13.07.2006 13:09
Re: I HAVE AC WITHOUT PRECALCULATE!!!!!!!!!!
The goal of limitation 10^18 is to prevent bruteforce solution, but to give a freedom of any other ways of solving. Besides with 10^18 you do not need to use long arithmetics.
Re: I HAVE AC WITHOUT PRECALCULATE!!!!!!!!!!
You can create new problem "Maximum. Version 3"!!!
With the same solution idea?
Re: With the same solution idea?
I can give you my solution idea or my prog. If you want, give me your e-mail.
Re: With the same solution idea?
Posted by
Jerry 17 Aug 2007 20:40
Thanks
My e-mail is
cpp_student@163.com
Re: With the same solution idea?
Can you tell me your Idea?
yydjtc1990@gmail.com
THX..
Re: I HAVE AC WITHOUT PRECALCULATE!!!!!!!!!!
Posted by
yuan 10 May 2009 21:51
Can you give me your idea and solution?
thank you very much!
my email:
547841181@qq.com
or jaryn_lin@foxmail.com