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_38453130_8460.cpp: In function 'fenshu jia(a, b)':
0_0_38453130_8460.cpp:9:19: error: '<anonymous>' has incomplete type
 fenshu jia(struct a, struct b) {
                   ^
0_0_38453130_8460.cpp:9:19: error: forward declaration of 'struct a'
0_0_38453130_8460.cpp:9:29: error: '<anonymous>' has incomplete type
 fenshu jia(struct a, struct b) {
                             ^
0_0_38453130_8460.cpp:9:29: error: forward declaration of 'struct b'
0_0_38453130_8460.cpp: In function 'int main()':
0_0_38453130_8460.cpp:34:13: error: expected unqualified-id before '=' token
    struct q = cheng(t, s[k]);
             ^
0_0_38453130_8460.cpp:35:21: error: expected primary-expression before ',' token
    st[j + k] = jia(q, st[j]); 
                     ^
0_0_38453130_8460.cpp:37:55: error: parameter 1 of 'fenshu jia(a, b)' has incomplete type 'a'
   for (int j = 0; j <= 10; j++) s[j] = jia(s[j], st[j]);
                                                       ^
0_0_38453130_8460.cpp:41:1: error: expected '}' at end of input
 }
 ^


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-25 01:02:07, Gzip enabled