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

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