Guest User

Untitled

a guest
Jun 21st, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. This is a challenge to test your basic programming skills.
  2.  
  3. Pseudo code:
  4. Set X = 1
  5. Set Y = 1
  6. Set previous answer = 1
  7.  
  8. answer = X * Y + previous answer + 3
  9.  
  10. After that => X + 1 and Y + 1 ('answer' becomes 'previous answer') and repeat this till you have X = 525.
  11.  
  12. The final answer is the value of 'answer' when X = 525. Fill it in below to check if it's the correct answer. If it is, you will get the password for the challenge page.
  13.  
  14. Example:
  15. 5 = 1 * 1 + 1 + 3
  16. 12 = 2 * 2 + 5 + 3
  17. 24 = 3 * 3 + 12 + 3
Add Comment
Please, Sign In to add comment