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_26225636_13033.cpp:15:1: error: expected ';' after struct definition
 }
 ^
0_0_26225636_13033.cpp: In function 'void Init()':
0_0_26225636_13033.cpp:25:9: error: 'ind' was not declared in this scope
  memset(ind, 0, sizeof(ind));
         ^
0_0_26225636_13033.cpp: In function 'int dfs(int, int, int)':
0_0_26225636_13033.cpp:51:15: error: 'iter' was not declared in this scope
  for(int &i = iter[v]; i < G[v].size(); i++) {
               ^
0_0_26225636_13033.cpp: In function 'void solve()':
0_0_26225636_13033.cpp:65:26: error: 'ind' was not declared in this scope
   Max_ind = max(Max_ind, ind[i]);
                          ^
0_0_26225636_13033.cpp:72:24: error: 'k' was not declared in this scope
    for(int i = 1; i <= k; i++) {
                        ^
0_0_26225636_13033.cpp:73:8: error: 'ind' was not declared in this scope
     if(ind[u[i]] > R && ind[v[i]] > R) {
        ^
0_0_26225636_13033.cpp:80:24: error: 'n' was not declared in this scope
    for(int i = 1; i <= n + m; i++) {
                        ^
0_0_26225636_13033.cpp:80:28: error: 'm' was not declared in this scope
    for(int i = 1; i <= n + m; i++) {
                            ^
0_0_26225636_13033.cpp:81:8: error: 'ind' was not declared in this scope
     if(ind[i] > R) {
        ^


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.000000(s) query 1, Server time : 2025-02-18 19:03:34, Gzip enabled