Language: C

#include<stdio.h>

int ruijou(int);
int main() {

int n,length[1000][3],i;

scanf("%d",&n);

for(i=0;i<n;i++){
scanf("%d%d%d",&length[0],&length[1],&length[2]);
if(ruijou(length[0])==ruijou(length[1])+ruijou(length[2])||/*
*/ ruijou(length[1])==ruijou(length[0])+ruijou(length[2])||/*
*/ ruijou(length[2])==ruijou(length[0])+ruijou(length[1])||)
printf("YES\n");
else printf("NO\n");
}

return 0;
}

int ruijou(int i){
return i*i;
}

Compiler output:
main.c: In function 'main':
main.c:12:17: error: passing argument 1 of 'ruijou' makes integer from pointer without a cast [-Wint-conversion]
   12 | if(ruijou(length[0])==ruijou(length[1])+ruijou(length[2])||/*
      |           ~~~~~~^~~
      |                 |
      |                 int *
main.c:3:12: note: expected 'int' but argument is of type 'int *'
    3 | int ruijou(int);
      |            ^~~
main.c:12:36: error: passing argument 1 of 'ruijou' makes integer from pointer without a cast [-Wint-conversion]
   12 | if(ruijou(length[0])==ruijou(length[1])+ruijou(length[2])||/*
      |                              ~~~~~~^~~
      |                                    |
      |                                    int *
main.c:3:12: note: expected 'int' but argument is of type 'int *'
    3 | int ruijou(int);
      |            ^~~
main.c:12:54: error: passing argument 1 of 'ruijou' makes integer from pointer without a cast [-Wint-conversion]
   12 | if(ruijou(length[0])==ruijou(length[1])+ruijou(length[2])||/*
      |                                                ~~~~~~^~~
      |                                                      |
      |                                                      int *
main.c:3:12: note: expected 'int' but argument is of type 'int *'
    3 | int ruijou(int);
      |            ^~~
main.c:13:17: error: passing argument 1 of 'ruijou' makes integer from pointer without a cast [-Wint-conversion]
   13 | */ ruijou(length[1])==ruijou(length[0])+ruijou(length[2])||/*
      |           ~~~~~~^~~
      |                 |
      |                 int *
main.c:3:12: note: expected 'int' but argument is of type 'int *'
    3 | int ruijou(int);
      |            ^~~
main.c:13:36: error: passing argument 1 of 'ruijou' makes integer from pointer without a cast [-Wint-conversion]
   13 | */ ruijou(length[1])==ruijou(length[0])+ruijou(length[2])||/*
      |                              ~~~~~~^~~
      |                                    |
      |                                    int *
main.c:3:12: note: expected 'int' but argument is of type 'int *'
    3 | int ruijou(int);
      |            ^~~
main.c:13:54: error: passing argument 1 of 'ruijou' makes integer from pointer without a cast [-Wint-conversion]
   13 | */ ruijou(length[1])==ruijou(length[0])+ruijou(length[2])||/*
      |                                                ~~~~~~^~~
      |                                                      |
      |                                                      int *
main.c:3:12: note: expected 'int' but argument is of type 'int *'
    3 | int ruijou(int);
      |            ^~~
main.c:14:17: error: passing argument 1 of 'ruijou' makes integer from pointer without a cast [-Wint-conversion]
   14 | */ ruijou(length[2])==ruijou(length[0])+ruijou(length[1])||)
      |           ~~~~~~^~~
      |                 |
      |                 int *
main.c:3:12: note: expected 'int' but argument is of type 'int *'
    3 | int ruijou(int);
      |            ^~~
main.c:14:36: error: passing argument 1 of 'ruijou' makes integer from pointer without a cast [-Wint-conversion]
   14 | */ ruijou(length[2])==ruijou(length[0])+ruijou(length[1])||)
      |                              ~~~~~~^~~
      |                                    |
      |                                    int *
main.c:3:12: note: expected 'int' but argument is of type 'int *'
    3 | int ruijou(int);
      |            ^~~
main.c:14:54: error: passing argument 1 of 'ruijou' makes integer from pointer without a cast [-Wint-conversion]
   14 | */ ruijou(length[2])==ruijou(length[0])+ruijou(length[1])||)
      |                                                ~~~~~~^~~
      |                                                      |
      |                                                      int *
main.c:3:12: note: expected 'int' but argument is of type 'int *'
    3 | int ruijou(int);
      |            ^~~
main.c:14:60: error: expected expression before ')' token
   14 | */ ruijou(length[2])==ruijou(length[0])+ruijou(length[1])||)
      |                                                            ^