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_32862350_4.cpp: In function 'void remove(const int&)':
0_0_32862350_4.cpp:3:2: error: 'l' was not declared in this scope
  l[r[c]] = l[c];
  ^
0_0_32862350_4.cpp:3:4: error: 'r' was not declared in this scope
  l[r[c]] = l[c];
    ^
0_0_32862350_4.cpp:6:9: error: 'd' was not declared in this scope
  for (i=d[c]; i!=c; i=d[i])
         ^
0_0_32862350_4.cpp:10:4: error: 'u' was not declared in this scope
    u[d[j]] = u[j];
    ^
0_0_32862350_4.cpp:12:4: error: 's' was not declared in this scope
    s[ch[j]]--;
    ^
0_0_32862350_4.cpp:12:6: error: 'ch' was not declared in this scope
    s[ch[j]]--;
      ^
0_0_32862350_4.cpp: In function 'void resume(const int&)':
0_0_32862350_4.cpp:20:9: error: 'u' was not declared in this scope
  for (i=u[c]; i!=c; i=u[i])
         ^
0_0_32862350_4.cpp:22:10: error: 'l' was not declared in this scope
   for (j=l[i]; j!=i; j=l[j])
          ^
0_0_32862350_4.cpp:24:4: error: 's' was not declared in this scope
    s[ch[j]]++;
    ^
0_0_32862350_4.cpp:24:6: error: 'ch' was not declared in this scope
    s[ch[j]]++;
      ^
0_0_32862350_4.cpp:25:6: error: 'd' was not declared in this scope
    u[d[j]] = j;
      ^
0_0_32862350_4.cpp:29:2: error: 'l' was not declared in this scope
  l[r[c]] = c;
  ^
0_0_32862350_4.cpp:29:4: error: 'r' was not declared in this scope
  l[r[c]] = c;
    ^
0_0_32862350_4.cpp: In function 'bool dfs(const int&)':
0_0_32862350_4.cpp:35:6: error: 'r' was not declared in this scope
  if (r[head]==head)
      ^
0_0_32862350_4.cpp:35:8: error: 'head' was not declared in this scope
  if (r[head]==head)
        ^
0_0_32862350_4.cpp:39:11: error: 'INT_MAX' was not declared in this scope
  int ss = INT_MAX;
           ^
0_0_32862350_4.cpp:42:9: error: 'r' was not declared in this scope
  for (i=r[head]; i!=head; i=r[i])
         ^
0_0_32862350_4.cpp:42:11: error: 'head' was not declared in this scope
  for (i=r[head]; i!=head; i=r[i])
           ^
0_0_32862350_4.cpp:44:7: error: 's' was not declared in this scope
   if (s[i]<ss)
       ^
0_0_32862350_4.cpp:51:9: error: 'd' was not declared in this scope
  for (i=d[c]; i!=c; i=d[i])
         ^
0_0_32862350_4.cpp:53:3: error: 'o' was not declared in this scope
   o[k] = rh[i];
   ^
0_0_32862350_4.cpp:53:10: error: 'rh' was not declared in this scope
   o[k] = rh[i];
          ^
0_0_32862350_4.cpp:54:3: error: 'len' was not declared in this scope
   len = k;
   ^
0_0_32862350_4.cpp:55:10: error: 'r' was not declared in this scope
   for (j=r[i]; j!=i; j=r[j]) remove(ch[j]);
          ^
0_0_32862350_4.cpp:55:37: error: 'ch' was not declared in this scope
   for (j=r[i]; j!=i; j=r[j]) remove(ch[j]);
                                     ^
0_0_32862350_4.cpp:57:10: error: 'l' was not declared in this scope
   for (j=l[i]; j!=i; j=l[j]) resume(ch[j]);
          ^
0_0_32862350_4.cpp:57:37: error: 'ch' was not declared in this scope
   for (j=l[i]; j!=i; j=l[j]) resume(ch[j]);
                                     ^


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-05-27 09:46:33, Gzip enabled