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_18525471_30811.cpp:3:9: error: 'Point' was not declared in this scope
 bool up(Point& u,int color)
         ^
0_0_18525471_30811.cpp:3:16: error: 'u' was not declared in this scope
 bool up(Point& u,int color)
                ^
0_0_18525471_30811.cpp:3:18: error: expected primary-expression before 'int'
 bool up(Point& u,int color)
                  ^
0_0_18525471_30811.cpp:3:27: error: expression list treated as compound expression in initializer [-fpermissive]
 bool up(Point& u,int color)
                           ^
0_0_18525471_30811.cpp:4:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_18525471_30811.cpp:17:11: error: 'Point' was not declared in this scope
 bool down(Point& u,int color)
           ^
0_0_18525471_30811.cpp:17:18: error: 'u' was not declared in this scope
 bool down(Point& u,int color)
                  ^
0_0_18525471_30811.cpp:17:20: error: expected primary-expression before 'int'
 bool down(Point& u,int color)
                    ^
0_0_18525471_30811.cpp:17:29: error: expression list treated as compound expression in initializer [-fpermissive]
 bool down(Point& u,int color)
                             ^
0_0_18525471_30811.cpp:18:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_18525471_30811.cpp:31:11: error: 'Point' was not declared in this scope
 bool left(Point& u,int color)
           ^
0_0_18525471_30811.cpp:31:18: error: 'u' was not declared in this scope
 bool left(Point& u,int color)
                  ^
0_0_18525471_30811.cpp:31:20: error: expected primary-expression before 'int'
 bool left(Point& u,int color)
                    ^
0_0_18525471_30811.cpp:31:29: error: expression list treated as compound expression in initializer [-fpermissive]
 bool left(Point& u,int color)
                             ^
0_0_18525471_30811.cpp:32:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_18525471_30811.cpp:45:12: error: 'Point' was not declared in this scope
 bool right(Point& u,int color)
            ^
0_0_18525471_30811.cpp:45:19: error: 'u' was not declared in this scope
 bool right(Point& u,int color)
                   ^
0_0_18525471_30811.cpp:45:21: error: expected primary-expression before 'int'
 bool right(Point& u,int color)
                     ^
0_0_18525471_30811.cpp:45:30: error: expression list treated as compound expression in initializer [-fpermissive]
 bool right(Point& u,int color)
                              ^
0_0_18525471_30811.cpp:46:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_18525471_30811.cpp:59:14: error: 'Point' was not declared in this scope
 bool panduan(Point u,int x,int y)
              ^
0_0_18525471_30811.cpp:59:22: error: expected primary-expression before 'int'
 bool panduan(Point u,int x,int y)
                      ^
0_0_18525471_30811.cpp:59:28: error: expected primary-expression before 'int'
 bool panduan(Point u,int x,int y)
                            ^
0_0_18525471_30811.cpp:59:33: error: expression list treated as compound expression in initializer [-fpermissive]
 bool panduan(Point u,int x,int y)
                                 ^
0_0_18525471_30811.cpp:60:1: error: expected ',' or ';' before '{' token
 {
 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-28 05:54:58, Gzip enabled