0_0_18357407_18390.c:6:1: error: unknown type name 'Node'
Node node[100];
^
0_0_18357407_18390.c: In function 'Judge':
0_0_18357407_18390.c:11:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1; i<=4;i++)
^
0_0_18357407_18390.c:11:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_18357407_18390.c:14:17: error: request for member 'a' in something not a structure or union
num1[1]=node[k].a/1000;
^
0_0_18357407_18390.c:15:18: error: request for member 'a' in something not a structure or union
num1[2]=(node[k].a%1000)/100;
^
0_0_18357407_18390.c:16:18: error: request for member 'a' in something not a structure or union
num1[3]=(node[k].a%100)/10;
^
0_0_18357407_18390.c:17:18: error: request for member 'a' in something not a structure or union
num1[4]=(node[k].a%10);
^
0_0_18357407_18390.c:25:11: error: redefinition of 'i'
for(int i=1; i<=4; i++)
^
0_0_18357407_18390.c:11:11: note: previous definition of 'i' was here
for(int i=1; i<=4;i++)
^
0_0_18357407_18390.c:25:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1; i<=4; i++)
^
0_0_18357407_18390.c:29:19: error: request for member 'c' in something not a structure or union
if(count!=node[k].c)
^
0_0_18357407_18390.c:33:10: error: redefinition of 'i'
for(int i=1;i<=4;i++)
^
0_0_18357407_18390.c:25:11: note: previous definition of 'i' was here
for(int i=1; i<=4; i++)
^
0_0_18357407_18390.c:33:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=4;i++)
^
0_0_18357407_18390.c:35:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=1;j<=4;j++)
^
0_0_18357407_18390.c:45:19: error: request for member 'b' in something not a structure or union
if(count!=node[k].b)return 0;
^
0_0_18357407_18390.c: In function 'main':
0_0_18357407_18390.c:57:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=n;i++)
^
0_0_18357407_18390.c:59:27: error: request for member 'a' in something not a structure or union
scanf("%d%d%d",&node[i].a,&node[i].b,&node[i].c);
^
0_0_18357407_18390.c:59:38: error: request for member 'b' in something not a structure or union
scanf("%d%d%d",&node[i].a,&node[i].b,&node[i].c);
^
0_0_18357407_18390.c:59:49: error: request for member 'c' in something not a structure or union
scanf("%d%d%d",&node[i].a,&node[i].b,&node[i].c);
^
0_0_18357407_18390.c:63:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int num=1000;num<=9999;num++)
^
0_0_18357407_18390.c:65:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=n;i++)
^
|