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 1667. Square Country 3

Nice problem. Some hints
Posted by Cat36 12 Jan 2009 11:23
1.Answer is always exist
2.You can calculate answer as a[i][j] =b[i]*c[j]
Re: Nice problem. Some hints
Posted by Sepi 6 May 2011 15:03
And what do you put in arrays b and c?
Re: Nice problem. Some hints
Posted by bsu.mmf.team 6 May 2011 19:31
You should think about it :) Try to find realtion to it with prime numbers.