fork download
  1. using System;
  2.  
  3. public class Example
  4. {
  5. public static void Main()
  6. {
  7. int value = 85;
  8. for (int power = 0; power <= 32; power++)
  9. Console.WriteLine("{0}^{1} = {2:N0}",
  10. value, power, (long)Math.Pow(value, power));
  11. }
  12. }
Success #stdin #stdout 0.03s 37016KB
stdin
Standard input is empty
stdout
85^0 = 1
85^1 = 85
85^2 = 7,225
85^3 = 614,125
85^4 = 52,200,625
85^5 = 4,437,053,125
85^6 = 377,149,515,625
85^7 = 32,057,708,828,125
85^8 = 2,724,905,250,390,625
85^9 = 231,616,946,283,203,136
85^10 = -9,223,372,036,854,775,808
85^11 = -9,223,372,036,854,775,808
85^12 = -9,223,372,036,854,775,808
85^13 = -9,223,372,036,854,775,808
85^14 = -9,223,372,036,854,775,808
85^15 = -9,223,372,036,854,775,808
85^16 = -9,223,372,036,854,775,808
85^17 = -9,223,372,036,854,775,808
85^18 = -9,223,372,036,854,775,808
85^19 = -9,223,372,036,854,775,808
85^20 = -9,223,372,036,854,775,808
85^21 = -9,223,372,036,854,775,808
85^22 = -9,223,372,036,854,775,808
85^23 = -9,223,372,036,854,775,808
85^24 = -9,223,372,036,854,775,808
85^25 = -9,223,372,036,854,775,808
85^26 = -9,223,372,036,854,775,808
85^27 = -9,223,372,036,854,775,808
85^28 = -9,223,372,036,854,775,808
85^29 = -9,223,372,036,854,775,808
85^30 = -9,223,372,036,854,775,808
85^31 = -9,223,372,036,854,775,808
85^32 = -9,223,372,036,854,775,808