sâmbătă, 25 februarie 2012

You are given a list containing 999,996 randomly generated integers (uniform in [0, 232-1] ) and 4 others, a, b, c, d, which lie in the same range and satisfy the relations:

ad-bc = 1,
ad > (1/e -.00005)*264
ad < (1/e+.00005)*264

Sketch a procedure to discover all possible a,b,c,d, (i) in about an hour’s computing, (ii) in a few seconds. Your computer can do 109 operations per second and has 109 bytes of memory.


Below is a sample question from a past information security test.

Niciun comentariu:

Trimiteți un comentariu