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_31487774_14275.cpp:7:13: error: expected unqualified-id before ')' token
 struct node()
             ^
0_0_31487774_14275.cpp:10:2: error: 'a' does not name a type
 }a[101];
  ^
0_0_31487774_14275.cpp:12:9: error: 'Node' was not declared in this scope
 int cmp(Node x,Node y)
         ^
0_0_31487774_14275.cpp:12:16: error: 'Node' was not declared in this scope
 int cmp(Node x,Node y)
                ^
0_0_31487774_14275.cpp:12:22: error: expression list treated as compound expression in initializer [-fpermissive]
 int cmp(Node x,Node y)
                      ^
0_0_31487774_14275.cpp:13:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_31487774_14275.cpp:17:9: error: redefinition of 'int cmp'
 int cmp(Node x,Node y)
         ^
0_0_31487774_14275.cpp:12:5: note: 'int cmp' previously defined here
 int cmp(Node x,Node y)
     ^
0_0_31487774_14275.cpp:17:9: error: 'Node' was not declared in this scope
 int cmp(Node x,Node y)
         ^
0_0_31487774_14275.cpp:17:16: error: 'Node' was not declared in this scope
 int cmp(Node x,Node y)
                ^
0_0_31487774_14275.cpp:23:1: error: expected unqualified-id before '{' token
 {
 ^


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-08 11:17:54, Gzip enabled