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_35859277_16846.c:7:17: error: expected identifier or '(' before '/' token
 int f1,f2,f3,f4;//the first letter 's position in the global coordinate
                 ^
0_0_35859277_16846.c:7:17: error: missing terminating ' character
0_0_35859277_16846.c:8:17: error: expected identifier or '(' before '/' token
 int c1,c2,c3,c4;//the common letter 's position in own string
                 ^
0_0_35859277_16846.c:8:17: error: missing terminating ' character
0_0_35859277_16846.c:9:24: error: expected identifier or '(' before '/' token
 int hlen=3, vlen, ilen;//number of spaces, initialize length of spaces for first column
                        ^
0_0_35859277_16846.c: In function 'main':
0_0_35859277_16846.c:22:20: error: expected expression before '/' token
         int line=0;//the length of coordinate
                    ^
0_0_35859277_16846.c:28:21: error: expected expression before '/' token
         int flag1=0;//can not print result
                     ^
0_0_35859277_16846.c:53:21: error: 'c3' undeclared (first use in this function)
                     c3=i;
                     ^
0_0_35859277_16846.c:53:21: note: each undeclared identifier is reported only once for each function it appears in
0_0_35859277_16846.c:54:21: error: 'c4' undeclared (first use in this function)
                     c4=j;
                     ^
0_0_35859277_16846.c:55:21: error: 'flag2' undeclared (first use in this function)
                     flag2=1;
                     ^
0_0_35859277_16846.c:66:16: error: 'c2' undeclared (first use in this function)
             if(c2 > c4)//f2=0
                ^
0_0_35859277_16846.c:66:24: error: expected expression before '/' token
             if(c2 > c4)//f2=0
                        ^
0_0_35859277_16846.c:83:13: error: 'ilen' undeclared (first use in this function)
             ilen=c1;
             ^
0_0_35859277_16846.c:83:18: error: 'c1' undeclared (first use in this function)
             ilen=c1;
                  ^
0_0_35859277_16846.c:94:57: error: 'vlen' undeclared (first use in this function)
                     if(i>=f4&&(i-f4)<=l4-1) print_space(vlen);//PE
                                                         ^
0_0_35859277_16846.c:94:63: error: expected expression before '/' token
                     if(i>=f4&&(i-f4)<=l4-1) print_space(vlen);//PE
                                                               ^
0_0_35859277_16846.c:96:21: error: expected expression before '/' token
                     //else printf(" ");//PE
                     ^
0_0_35859277_16846.c:96:40: error: expected expression before '/' token
                     //else printf(" ");//PE
                                        ^
0_0_35859277_16846.c:101:33: error: 'hlen' undeclared (first use in this function)
                     print_space(hlen);
                                 ^
0_0_35859277_16846.c:107:13: error: expected expression before '/' token
         else//print no answer
             ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-17 11:54:10, Gzip enabled