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_38825497_9462.cpp: In function 'int LCA::QryLca(int, int)':
0_0_38825497_9462.cpp:36:25: error: return-statement with no value, in function returning 'int' [-fpermissive]
   36 |                         return;
      |                         ^~~~~~
0_0_38825497_9462.cpp: In function 'void slv()':
0_0_38825497_9462.cpp:103:32: error: 'u' was not declared in this scope
  103 |                 scanf("%d%d", &u, &v);
      |                                ^
0_0_38825497_9462.cpp:103:36: error: 'v' was not declared in this scope
  103 |                 scanf("%d%d", &u, &v);
      |                                    ^
0_0_38825497_9462.cpp:115:9: error: 'getans' was not declared in this scope; did you mean 'gets_s'?
  115 |         getans();
      |         ^~~~~~
      |         gets_s


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-06-16 05:52:07, Gzip enabled