Guest User

Untitled

a guest
Jul 23rd, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. Please fill out the following form to activate your account:
  2.  
  3. In an effort to combat spammers, we had to take the following action:
  4. A trivia quiz. (see below)
  5.  
  6.  
  7. In which year did Albert Einstein pass away?
  8.  
  9.  
  10.  
  11. Please take a look at this code:
  12. int c = 2;
  13. int w = "DSU".hashCode() % 3000;
  14. int p = "QPQ".hashCode() % 3000;
  15. for (int g = 0; g <= p; g++)
  16. c = (c ^ g) % w;
  17. return c;
  18. What is the returned value?
  19.  
  20.  
  21.  
  22. What is the greatest common divisor of the previous two results?
Add Comment
Please, Sign In to add comment