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_39103163_7883.c: In function 'UfsInit':
0_0_39103163_7883.c:21:28: error: 'idx' undeclared (first use in this function)
   21 |         DEMO_FOR_EACH_ITEM(idx, 0, DEMO_MAX_UFS_SIZE + 1) {
      |                            ^~~
0_0_39103163_7883.c:21:28: note: each undeclared identifier is reported only once for each function it appears in
0_0_39103163_7883.c:21:58: error: expected ';' before '{' token
   21 |         DEMO_FOR_EACH_ITEM(idx, 0, DEMO_MAX_UFS_SIZE + 1) {
      |                                                          ^~
      |                                                          ;
0_0_39103163_7883.c: In function 'main':
0_0_39103163_7883.c:55:16: error: 'true' undeclared (first use in this function)
   55 |         while (true) {
      |                ^~~~
0_0_39103163_7883.c:1:1: note: 'true' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
  +++ |+#include <stdbool.h>
    1 | 
0_0_39103163_7883.c:62:36: error: 'idx' undeclared (first use in this function)
   62 |                 DEMO_FOR_EACH_ITEM(idx, 0, edgesNum) {
      |                                    ^~~
0_0_39103163_7883.c:62:53: error: expected ';' before '{' token
   62 |                 DEMO_FOR_EACH_ITEM(idx, 0, edgesNum) {
      |                                                     ^~
      |                                                     ;


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-10 16:19:20, Gzip enabled