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_10562279_22655.cpp:1: error: `string' was not declared in this scope
0_0_10562279_22655.cpp:1: error: `string' was not declared in this scope
0_0_10562279_22655.cpp:2: error: initializer expression list treated as compound expression
0_0_10562279_22655.cpp:2: error: expected `,' or `;' before '{' token
0_0_10562279_22655.cpp:27: error: `string' does not name a type
0_0_10562279_22655.cpp:28: error: ISO C++ forbids declaration of `vector' with no type
0_0_10562279_22655.cpp:28: error: expected `;' before '<' token
0_0_10562279_22655.cpp:29: error: `string' has not been declared
0_0_10562279_22655.cpp:29: error: ISO C++ forbids declaration of `s' with no type
0_0_10562279_22655.cpp: In constructor `node::node(int, int)':
0_0_10562279_22655.cpp:29: error: class `node' does not have any field named `wd'
0_0_10562279_22655.cpp:29: error: class `node' does not have any field named `next'
0_0_10562279_22655.cpp:29: error: `vector' undeclared (first use this function)
0_0_10562279_22655.cpp:29: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_10562279_22655.cpp:29: error: expected primary-expression before '*' token
0_0_10562279_22655.cpp:29: error: expected primary-expression before '>' token
0_0_10562279_22655.cpp:29: error: `NULL' undeclared (first use this function)
0_0_10562279_22655.cpp: At global scope:
0_0_10562279_22655.cpp:32: error: `string' has not been declared
0_0_10562279_22655.cpp:33: error: ISO C++ forbids declaration of `s' with no type
0_0_10562279_22655.cpp: In function `void insert(node*&, int)':
0_0_10562279_22655.cpp:40: error: 'struct node' has no member named 'wd'
0_0_10562279_22655.cpp:40: error: `dis' cannot be used as a function
0_0_10562279_22655.cpp:41: error: 'struct node' has no member named 'next'
0_0_10562279_22655.cpp:44: error: 'struct node' has no member named 'next'
0_0_10562279_22655.cpp:47: error: 'struct node' has no member named 'next'
0_0_10562279_22655.cpp: At global scope:
0_0_10562279_22655.cpp:51: error: `string' has not been declared
0_0_10562279_22655.cpp:51: error: `vector' has not been declared
0_0_10562279_22655.cpp:51: error: expected `,' or `...' before '<' token
0_0_10562279_22655.cpp:52: error: ISO C++ forbids declaration of `s' with no type
0_0_10562279_22655.cpp:52: error: ISO C++ forbids declaration of `parameter' with no type
0_0_10562279_22655.cpp: In function `void query(node*, int, int, int)':
0_0_10562279_22655.cpp:54: error: 'struct node' has no member named 'wd'
0_0_10562279_22655.cpp:54: error: `dis' cannot be used as a function
0_0_10562279_22655.cpp:55: error: `res' undeclared (first use this function)
0_0_10562279_22655.cpp:55: error: 'struct node' has no member named 'wd'
0_0_10562279_22655.cpp:56: error: `max' undeclared (first use this function)
0_0_10562279_22655.cpp:58: error: 'struct node' has no member named 'next'
0_0_10562279_22655.cpp:58: error: 'struct node' has no member named 'next'
0_0_10562279_22655.cpp: In function `int main()':
0_0_10562279_22655.cpp:65: error: `scanf' undeclared (first use this function)
0_0_10562279_22655.cpp:66: error: `NULL' undeclared (first use this function)
0_0_10562279_22655.cpp:68: error: `tot' undeclared (first use this function)
0_0_10562279_22655.cpp:71: error: `str' undeclared (first use this function)
0_0_10562279_22655.cpp:74: error: `printf' undeclared (first use this function)
0_0_10562279_22655.cpp:77: error: `vector' undeclared (first use this function)
0_0_10562279_22655.cpp:77: error: `string' undeclared (first use this function)


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-10-06 14:29:40, Gzip enabled