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 1268. Little Chu

I've got AC without precalculating array ... 0.046 sec
Posted by Tolstiy_BSU 15 Feb 2005 14:16
Re: I've got AC without precalculating array ... 0.046 sec
Posted by xurshid_n 21 Oct 2006 16:22
Please, send me your solution or algorithm!
my email: xujand000@rambler.ru
Re: I've got AC without precalculating array ... 0.046 sec
Posted by Jerry 17 Aug 2007 18:51
Please, send me your solution or algorithm!
my email: cpp_student@163.com
Re: I've got AC without precalculating array ... 0.046 sec
Posted by tantian 23 Aug 2007 06:40
Please, send me your solution or algorithm!
my email: ttxxli@163.com
Re: I've got AC without precalculating array ... 0.046 sec
Posted by Chmel_Tolstiy 23 Aug 2007 11:29
Sended ...
Re: I've got AC without precalculating array ... 0.046 sec
Posted by DixonD (Lviv NU) 3 Jan 2008 02:52
Heh, I solved without precalc too, but my solution got time near 0.234 sec ((
Re: I've got AC without precalculating array ... 0.046 sec
Posted by lian lian 3 Jan 2008 13:24
Please, send me your solution or algorithm!
my email: k13795263@126.com
Re: I've got AC without precalculating array ... 0.046 sec
Posted by [bsu] Poskunec 1 Feb 2008 17:18
Я на java решил за 0.25 без масива .На С++ было бы намного быстрее.Вообще основная идея - первообразный корень по примарному модулю. (Извините за русский но английский я не знаю )
Re: I've got AC without precalculating array ... 0.046 sec
Posted by Erop [USU] 19 Mar 2010 22:47
http://e-maxx.ru/algo/primitive_root
It's very helpful, but in russian..
Re: I've got AC without precalculating array ... 0.046 sec
Posted by Rrn 29 Feb 2012 20:57
Thanks e-maxx!!!
AC whithout precalculating http://pastebin.com/d9UX3xh2
Re: I've got AC without precalculating array ... 0.046 sec
Posted by Khong Minh Hieu 12 Oct 2013 08:53
Thank you...

Edited by author 12.10.2013 08:56