fork download
  1. #include <stdio.h>
  2. int main (void)
  3. {
  4. int x, y, z;
  5. z = 1;
  6. scanf ("%i", &x);
  7. for (x; x > 0; --x)
  8. {
  9. z = 1;
  10. scanf ("%i", &y);
  11. for (y; y > 1; --y)
  12. {
  13. z = z * y;
  14. }
  15. printf ("%i\n", &z);
  16. }
  17.  
  18. return 0;
  19. }
Success #stdin #stdout 0s 1836KB
stdin
4
5
6
3
2
stdout
-1075055492
-1075055492
-1075055492
-1075055492