Look at this Pascal ( pseudocode ) below :
function secret(x, y, z : longint) : longint;
begin
if (y = 0) then
secret := 1 mod z
else
secret := (x * secret(x,y-1,z)) mod z
end;
What is the value of ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
No explanations have been posted yet. Check back later!