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 1132. Square Root

Good problem
Posted by Levenets (ONPU) 26 Aug 2008 14:39
some hints
if a == 1
output 1 n - 1;
in the begin a %= n;
this realy helps me with WA 2

Edited by author 26.08.2008 14:42
Re: Good problem
Posted by bsu.mmf.team 13 Oct 2008 03:39
Don't understand... if for example, a=1, n=32 the result should be 1 15 17 31... not only 1 and 31
Re: Good problem
Posted by [SPbSU ITMO] WiNGeR 13 Oct 2008 17:48
n should be prime