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_30271592_2782.cpp: In function 'void sou(int, int, int, int)':
0_0_30271592_2782.cpp:18:18: error: 'struct st1' has no member named 'n'
   while (tra[xa].n&&trb[xb].n){
                  ^
0_0_30271592_2782.cpp:18:29: error: 'struct st1' has no member named 'n'
   while (tra[xa].n&&trb[xb].n){
                             ^
0_0_30271592_2782.cpp:19:12: error: 'struct st1' has no member named 'n'
    tra[xa].n--;trb[xb].n--;
            ^
0_0_30271592_2782.cpp:19:24: error: 'struct st1' has no member named 'n'
    tra[xa].n--;trb[xb].n--;
                        ^
0_0_30271592_2782.cpp: In function 'int main()':
0_0_30271592_2782.cpp:65:21: error: too many initializers for 'st1'
   tra[1]=st1{0,0,0,0}; trb[1]=st1{0,0,0,0};
                     ^
0_0_30271592_2782.cpp:65:42: error: too many initializers for 'st1'
   tra[1]=st1{0,0,0,0}; trb[1]=st1{0,0,0,0};
                                          ^
0_0_30271592_2782.cpp:84:22: error: 'struct st1' has no member named 'n'
     if (i==0) tra[p].n++;
                      ^
0_0_30271592_2782.cpp:106:22: error: 'struct st1' has no member named 'n'
     if (i==0) trb[p].n++;
                      ^


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-06-29 13:51:23, Gzip enabled