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 1214. Strange Procedure

For prove it just use some maths
Posted by IlushaMax 12 Jul 2016 01:16
See on one iteration of "for":
let be x and y on start:x1 and y1.
then after each change it'll be for x1 x2...x3; for y1 y2...y3;
so you have to find out x3 and y3 through x and y on start(x1 and y1);
Something like that x3=y1.
Good luck and sorry if my English is not enough good for explaining it)