You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
This program does not do anything except calculate the same thing n*n times. Since you have no varying parameters in the expression, you can just calculate the value once.
Generally, a good and easy way to speed up programs is compiling them: