fork download
  1. #include <stdio.h>
  2. #include <limits.h>
  3.  
  4. unsigned int step(unsigned int a){
  5. return(a*a*a*a*a*a*a);
  6. }
  7.  
  8. int main() {
  9. unsigned int base=0;
  10. unsigned int i=0;
  11. unsigned int base0;
  12. for (i;i<256;i++)
  13. {
  14. base0=base;
  15. base=step(i);
  16. if (base0<=base){
  17. printf("%u\n", base);
  18. }
  19. else{
  20. i=404;
  21. }
  22. }
  23. printf("%u\n", sizeof(unsigned int));
  24. return 0;
  25. }
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
0
1
128
2187
16384
78125
279936
823543
2097152
4782969
10000000
19487171
35831808
62748517
105413504
170859375
268435456
410338673
612220032
893871739
1280000000
1801088541
2494357888
3404825447
4