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_11718422_18796.cpp:1:25: bits/stdc++.h: No such file or directory
0_0_11718422_18796.cpp: In member function `void SplayTree<T, maxn>::debug()':
0_0_11718422_18796.cpp:99: error: there are no arguments to `printf' that depend on a template parameter, so a declaration of `printf' must be available
0_0_11718422_18796.cpp:99: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
0_0_11718422_18796.cpp: In member function `void SplayTree<T, maxn>::init(int, T*)':
0_0_11718422_18796.cpp:183: error: there are no arguments to `make_pair' that depend on a template parameter, so a declaration of `make_pair' must be available
0_0_11718422_18796.cpp:187: error: there are no arguments to `make_pair' that depend on a template parameter, so a declaration of `make_pair' must be available
0_0_11718422_18796.cpp:188: error: there are no arguments to `make_pair' that depend on a template parameter, so a declaration of `make_pair' must be available
0_0_11718422_18796.cpp: At global scope:
0_0_11718422_18796.cpp:219: error: expected constructor, destructor, or type conversion before '<' token
0_0_11718422_18796.cpp:219: error: expected `,' or `;' before '<' token
0_0_11718422_18796.cpp:221: error: `pair' was not declared in this scope
0_0_11718422_18796.cpp:221: error: missing `>' to terminate the template argument list
0_0_11718422_18796.cpp:221: error: wrong number of template arguments (1, should be 2)
0_0_11718422_18796.cpp:8: error: provided for `template<class T, int maxn> struct SplayTree'
0_0_11718422_18796.cpp:221: error: expected unqualified-id before ',' token
0_0_11718422_18796.cpp:221: error: expected unqualified-id before "int"
0_0_11718422_18796.cpp:221: error: expected `,' or `;' before "int"
0_0_11718422_18796.cpp: In function `int main()':
0_0_11718422_18796.cpp:229: error: `scanf' undeclared (first use this function)
0_0_11718422_18796.cpp:229: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_11718422_18796.cpp:235: error: `num' undeclared (first use this function)
0_0_11718422_18796.cpp:238: error: `spt' undeclared (first use this function)
0_0_11718422_18796.cpp:240: error: `printf' undeclared (first use this function)
0_0_11718422_18796.cpp:242: error: `stdin' undeclared (first use this function)
0_0_11718422_18796.cpp:242: error: `fclose' undeclared (first use this function)
0_0_11718422_18796.cpp:243: error: `stdout' 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-06-26 15:06:17, Gzip enabled