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_19251925_7198.cpp:3:11: error: variable or field 'exch' declared void
 void exch(node* a, int i, int j) {
           ^
0_0_19251925_7198.cpp:3:11: error: 'node' was not declared in this scope
0_0_19251925_7198.cpp:3:17: error: 'a' was not declared in this scope
 void exch(node* a, int i, int j) {
                 ^
0_0_19251925_7198.cpp:3:20: error: expected primary-expression before 'int'
 void exch(node* a, int i, int j) {
                    ^
0_0_19251925_7198.cpp:3:27: error: expected primary-expression before 'int'
 void exch(node* a, int i, int j) {
                           ^
0_0_19251925_7198.cpp:11:15: error: 'node' was not declared in this scope
 int partition(node* a, int lo, int hi) {
               ^
0_0_19251925_7198.cpp:11:21: error: 'a' was not declared in this scope
 int partition(node* a, int lo, int hi) {
                     ^
0_0_19251925_7198.cpp:11:24: error: expected primary-expression before 'int'
 int partition(node* a, int lo, int hi) {
                        ^
0_0_19251925_7198.cpp:11:32: error: expected primary-expression before 'int'
 int partition(node* a, int lo, int hi) {
                                ^
0_0_19251925_7198.cpp:11:38: error: expression list treated as compound expression in initializer [-fpermissive]
 int partition(node* a, int lo, int hi) {
                                      ^
0_0_19251925_7198.cpp:11:40: error: expected ',' or ';' before '{' token
 int partition(node* a, int lo, int hi) {
                                        ^


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-12-02 12:03:48, Gzip enabled