Click here to Skip to main content
15,918,243 members

Comments by Member 13608224 (Top 4 by date)

Member 13608224 5-Jan-18 8:59am View    
Well but as far as i know there doesn't exsist any pattern at all. So sitting any more days and reading about them is pointless. I can understand the problem pretty well, i just dont really know how complicated pascal language i should use. As far as i was tought there are arrays but maybe there is some ready function which can unable me to make this task a litlle bjt simpler
Member 13608224 5-Jan-18 6:59am View    
Probably for someone who can easily program anything its easy, but as for someone totally new its not. I have 2 ideas for algorithm but i was counting that someone here will be able to tell me if my idea should work and so on. Thats why i tried to explain one of them. Its not like im asking for ready solution just for some tips
Member 13608224 5-Jan-18 6:23am View    
^ i tried it but theres no pattern unless its a prime number i mean square 7x7,5x5 and so on. In other situations you have to start from diagonal and antidiagonal but even though in every space you can write 2 numbers and only one is correct so its not helpful, at least for me
Member 13608224 5-Jan-18 6:10am View    
Well i dont expect you to make program instead of me just to explain how to do it in Pascal. I know that in Python you can do it more easily but i just dont know it. And the links you share are not exactly what i mean, because there on the diagonal you have 0 always and i have to have there a combination of [1,n] and that is the biggest problem to me. Making normal latin square is much simpler i guess