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_39139673_8445.cpp: In function 'bool cmp(point, point)':
0_0_39139673_8445.cpp:23:17: error: a function-definition is not allowed here before '{' token
   23 | int get(point a){
      |                 ^
0_0_39139673_8445.cpp:27:29: error: a function-definition is not allowed here before '{' token
   27 | void set_vis(node n, char c){
      |                             ^
0_0_39139673_8445.cpp:32:21: error: a function-definition is not allowed here before '{' token
   32 | char get_vis(node n){
      |                     ^
0_0_39139673_8445.cpp:40:19: error: a function-definition is not allowed here before '{' token
   40 | void set_g(node n){
      |                   ^
0_0_39139673_8445.cpp:48:19: error: a function-definition is not allowed here before '{' token
   48 | bool jump(point p){
      |                   ^
0_0_39139673_8445.cpp:55:11: error: a function-definition is not allowed here before '{' token
   55 | bool bfs(){
      |           ^
0_0_39139673_8445.cpp:154:11: error: a function-definition is not allowed here before '{' token
  154 | int main(){
      |           ^
0_0_39139673_8445.cpp:177:2: error: expected '}' at end of input
  177 | }
      |  ^
0_0_39139673_8445.cpp:18:28: note: to match this '{'
   18 | bool cmp(point a, point b) {
      |                            ^


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-25 12:29:23, Gzip enabled