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_39574909_1832.cpp: In function 'node dfs(int)':
0_0_39574909_1832.cpp:22:17: error: 'v' was not declared in this scope
   22 |                 v[u].a=k[u];
      |                 ^
0_0_39574909_1832.cpp:23:17: error: return-statement with no value, in function returning 'node' [-fpermissive]
   23 |                 return;
      |                 ^~~~~~
0_0_39574909_1832.cpp:30:17: error: 'ls' was not declared in this scope; did you mean 's'?
   30 |                 ls=v;
      |                 ^~
      |                 s
0_0_39574909_1832.cpp:31:17: error: 'son' was not declared in this scope; did you mean 'sin'?
   31 |                 son[u]=son[u]+val[v];
      |                 ^~~
      |                 sin
0_0_39574909_1832.cpp: In function 'int main()':
0_0_39574909_1832.cpp:38:25: error: 'm' was not declared in this scope; did you mean 'tm'?
   38 |                 cin>>n>>m;
      |                         ^
      |                         tm
0_0_39574909_1832.cpp:49:37: error: 'b' was not declared in this scope; did you mean 'b1'?
   49 |                         k[i]=k1/100,b[i]=b1/100;
      |                                     ^
      |                                     b1


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-29 01:48:54, Gzip enabled