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_32284192_17201.cpp:84:15: error: stray '#' in program
     if(p!=fa) #pragma GCC optimize(3,"Ofast","inline")   //G++
               ^
0_0_32284192_17201.cpp: In function 'll dfs(ll, ll, ll)':
0_0_32284192_17201.cpp:84:16: error: 'pragma' was not declared in this scope
     if(p!=fa) #pragma GCC optimize(3,"Ofast","inline")   //G++
                ^
0_0_32284192_17201.cpp:105:54: error: can't define friend function 'operator<' in a local class definition
     bool friend operator < (const node a,const node b)
                                                      ^
0_0_32284192_17201.cpp:105:54: error: friend declaration 'bool operator<(dfs(ll, ll, ll)::node, dfs(ll, ll, ll)::node)' in local class without prior declaration
0_0_32284192_17201.cpp:113:1: error: a function-definition is not allowed here before '{' token
 {
 ^
0_0_32284192_17201.cpp:119:1: error: a function-definition is not allowed here before '{' token
 {
 ^
0_0_32284192_17201.cpp:234:1: error: expected '}' at end of input
 }
 ^


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-17 01:53:38, Gzip enabled