F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_24271912_15248.c:7:27: error: expected specifier-qualifier-list before '/' token
     struct Tire *next[30];///指向26个子节点
                           ^
0_0_24271912_15248.c:7:27: error: stray '\326' in program
0_0_24271912_15248.c:7:27: error: stray '\270' in program
0_0_24271912_15248.c:7:27: error: stray '\317' in program
0_0_24271912_15248.c:7:27: error: stray '\362' in program
0_0_24271912_15248.c:7:27: error: stray '\270' in program
0_0_24271912_15248.c:7:27: error: stray '\366' in program
0_0_24271912_15248.c:7:27: error: stray '\327' in program
0_0_24271912_15248.c:7:27: error: stray '\323' in program
0_0_24271912_15248.c:7:27: error: stray '\275' in program
0_0_24271912_15248.c:7:27: error: stray '\332' in program
0_0_24271912_15248.c:7:27: error: stray '\265' in program
0_0_24271912_15248.c:7:27: error: stray '\343' in program
0_0_24271912_15248.c: In function 'creattire':
0_0_24271912_15248.c:14:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for(int i=0; i<30; i++)
     ^
0_0_24271912_15248.c:14:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_24271912_15248.c: In function 'addtire':
0_0_24271912_15248.c:20:5: error: expected expression before '/' token
     //int t=0;
     ^
0_0_24271912_15248.c:23:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for(int i=0; i<len; i++)
     ^
0_0_24271912_15248.c:30:13: error: expected expression before '/' token
             //p=p->next[ans];
             ^
0_0_24271912_15248.c:34:9: error: expected expression before '/' token
         //t=max(t,p->num);
         ^
0_0_24271912_15248.c:35:9: error: expected expression before '/' token
         //printf("%d...\n",p->num);
         ^
0_0_24271912_15248.c:37:5: error: expected expression before '/' token
     //p->num++;
     ^
0_0_24271912_15248.c:38:5: error: expected expression before '/' token
     //maxn=max(maxn,t+1);
     ^
0_0_24271912_15248.c: In function 'finds':
0_0_24271912_15248.c:44:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for(int i=0;i<m;i++)
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 18:41:24, Gzip enabled