Calculate the formula by rotary-o

while(0<1)println{var a=readLine split' 'map(BigInt(_))toSeq;for(_<-" "*a(6).toInt)a=0 to 5 map(i=>(a(i%2*3)*a(i)+a(2-(i+i/4)%2)*a(i^1))%99999999999997L)
a(4)+" "+a(5)}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)


return to the top page