I think, it is related to Gaussian integer or something. But could not solve.
Any help ?
-pvncad
11180 - Base i-1
Moderator: Board moderators
-
- New poster
- Posts: 6
- Joined: Mon Feb 26, 2007 10:42 pm
Dont' think too hard. Think of sclo's hint. We got accepted using the same idea.
7th Contest of Newbies
Date: December 31st, 2011 (Saturday)
Time: 12:00 - 16:00 (UTC)
URL: http://uva.onlinejudge.org
Date: December 31st, 2011 (Saturday)
Time: 12:00 - 16:00 (UTC)
URL: http://uva.onlinejudge.org
-
- New poster
- Posts: 6
- Joined: Mon Feb 26, 2007 10:42 pm