fork download
  1. #include <stdio.h>
  2.  
  3. long long binhPhuong(long long n) {
  4. return n * n;
  5. }
  6.  
  7. int main() {
  8. int T;
  9. scanf("%d", &T);
  10.  
  11. for (int i = 0; i < T; i++) {
  12. long long n;
  13. scanf("%lld", &n);
  14. printf("%lld\n", binhPhuong(n));
  15. }
  16.  
  17. return 0;
  18. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
Standard output is empty