Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_714_188_31240.cpp: In function 'int main()':
1_714_188_31240.cpp:26:26: error: 'a' was not declared in this scope
             printf("%d ",a[b[i].r);
                          ^
1_714_188_31240.cpp:26:34: error: expected ']' before ')' token
             printf("%d ",a[b[i].r);
                                  ^
1_714_188_31240.cpp:27:23: error: 'a' was not declared in this scope
         printf("%d\n",a[b[i].r);
                       ^
1_714_188_31240.cpp:27:31: error: expected ']' before ')' token
         printf("%d\n",a[b[i].r);
                               ^


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-16 07:53:11, Gzip enabled