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_32357426_11530.cpp:53:15: error: expected '}' at end of input
    mark[i]=0;%0
               ^
0_0_32357426_11530.cpp: In member function 'void Tree::init(int)':
0_0_32357426_11530.cpp:48:9: error: 'struct Tree' has no member named 'n'
   this->n=n;
         ^
0_0_32357426_11530.cpp:51:4: error: 'first' was not declared in this scope
    first[i]=-1;
    ^
0_0_32357426_11530.cpp:52:4: error: 'fa' was not declared in this scope
    fa[i]=i;
    ^
0_0_32357426_11530.cpp:53:4: error: 'mark' was not declared in this scope
    mark[i]=0;%0
    ^
0_0_32357426_11530.cpp:53:14: error: expected primary-expression before '%' token
    mark[i]=0;%0
              ^
0_0_32357426_11530.cpp:53:15: error: expected '}' at end of input
    mark[i]=0;%0
               ^
0_0_32357426_11530.cpp:53:15: error: expected '}' at end of input
0_0_32357426_11530.cpp: At global scope:
0_0_32357426_11530.cpp:53:15: error: expected unqualified-id at end of input


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.000000(s) query 1, Server time : 2025-02-28 08:04:59, Gzip enabled