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_10108526_20940.cpp: In member function `void splayTree::fix(int, int, node*)':
0_0_10108526_20940.cpp:38: error: invalid conversion from `node*' to `int'
0_0_10108526_20940.cpp:38: error: invalid types `int[100005][node*]' for array subscript
0_0_10108526_20940.cpp: In member function `void splayTree::rot(int&)':
0_0_10108526_20940.cpp:41: error: conversion from `int' to non-scalar type `node' requested
0_0_10108526_20940.cpp:41: error: no match for 'operator[]' in '((splayTree*)this)->splayTree::pre[y]'
0_0_10108526_20940.cpp:43: error: no matching function for call to `splayTree::d(node&)'
0_0_10108526_20940.cpp:34: note: candidates are: bool splayTree::d(int)
0_0_10108526_20940.cpp:44: error: `c' undeclared (first use this function)
0_0_10108526_20940.cpp:44: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_10108526_20940.cpp:45: error: no matching function for call to `splayTree::fix(int&, bool, node&)'
0_0_10108526_20940.cpp:37: note: candidates are: void splayTree::fix(int, int, node*)
0_0_10108526_20940.cpp:46: error: no matching function for call to `splayTree::up(node&)'
0_0_10108526_20940.cpp:31: note: candidates are: void splayTree::up(int)
0_0_10108526_20940.cpp: In member function `void splayTree::rotate(int&)':
0_0_10108526_20940.cpp:51: error: `f' undeclared (first use this function)
0_0_10108526_20940.cpp: In member function `void splayTree::splay(int&, int)':
0_0_10108526_20940.cpp:64: error: no matching function for call to `splayTree::rotate(int&, bool)'
0_0_10108526_20940.cpp:48: note: candidates are: void splayTree::rotate(int&)
0_0_10108526_20940.cpp:67: error: no matching function for call to `splayTree::rotate(int&, int&)'
0_0_10108526_20940.cpp:48: note: candidates are: void splayTree::rotate(int&)
0_0_10108526_20940.cpp:67: error: no matching function for call to `splayTree::rotate(int&, bool)'
0_0_10108526_20940.cpp:48: note: candidates are: void splayTree::rotate(int&)
0_0_10108526_20940.cpp:68: error: no matching function for call to `splayTree::rotate(int&, int&)'
0_0_10108526_20940.cpp:48: note: candidates are: void splayTree::rotate(int&)


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-29 19:24:15, Gzip enabled