fork download
  1. #include <stdio.h>
  2. #include <math.h>
  3. int main() {
  4. int a=0, i=0, n=0;
  5. scanf("%i",&a);
  6. for (i=0; i<n; i++) {
  7. scanf("%i",&a);
  8. a=a*a;
  9. printf("%i\n",a);
  10. }
  11. }
Success #stdin #stdout 0s 5296KB
stdin
Standard input is empty
stdout
Standard output is empty