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_31528404_20744.cpp:1:1: error: 'include' does not name a type
 include <bits/stdc++.h>
 ^
0_0_31528404_20744.cpp:11:9: error: 'pair' does not name a type
 typedef pair<int, int> PII;
         ^
0_0_31528404_20744.cpp:25:1: error: 'vector' does not name a type
 vector<int>E[MX];
 ^
0_0_31528404_20744.cpp: In function 'void init(int)':
0_0_31528404_20744.cpp:27:23: error: 'E' was not declared in this scope
     rep (i, 1, n + 1) E[i].clear();
                       ^
0_0_31528404_20744.cpp: At global scope:
0_0_31528404_20744.cpp:31:5: error: 'vector' does not name a type
     vector <int> T;
     ^
0_0_31528404_20744.cpp:35:48: error: expected '}' at end of input
         for (int i = 0; i <= n; i++) T[i] = 0;%0
                                                ^
0_0_31528404_20744.cpp: In member function 'void Tree::init(int)':
0_0_31528404_20744.cpp:34:9: error: 'T' was not declared in this scope
         T.resize (n + 1);
         ^
0_0_31528404_20744.cpp:35:47: error: expected primary-expression before '%' token
         for (int i = 0; i <= n; i++) T[i] = 0;%0
                                               ^
0_0_31528404_20744.cpp:35:48: error: expected '}' at end of input
         for (int i = 0; i <= n; i++) T[i] = 0;%0
                                                ^
0_0_31528404_20744.cpp: At global scope:
0_0_31528404_20744.cpp:35:48: error: expected unqualified-id 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-22 20:38:51, Gzip enabled