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_24728989_22134.cpp:74:6: error: stray '\243' in program
      Return0£»
      ^
0_0_24728989_22134.cpp:74:6: error: stray '\273' in program
0_0_24728989_22134.cpp:5:1: error: 'Using' does not name a type
 Using  namespace std; 
 ^
0_0_24728989_22134.cpp:7:1: error: 'Const' does not name a type
 Const  int maxn = 50010; 
 ^
0_0_24728989_22134.cpp:14:10: error: 'maxn' was not declared in this scope
 int head[maxn],dfn[maxn],low[maxn],idx,tot,cn;
          ^
0_0_24728989_22134.cpp:14:20: error: 'maxn' was not declared in this scope
 int head[maxn],dfn[maxn],low[maxn],idx,tot,cn;
                    ^
0_0_24728989_22134.cpp:14:30: error: 'maxn' was not declared in this scope
 int head[maxn],dfn[maxn],low[maxn],idx,tot,cn;
                              ^
0_0_24728989_22134.cpp:15:10: error: 'maxn' was not declared in this scope
 bool cut[maxn];
          ^
0_0_24728989_22134.cpp: In function 'void add(int, int)':
0_0_24728989_22134.cpp:16:43: error: 'head' was not declared in this scope
 void add(int u,int v) {    e[tot] = arc(v,head[u]);
                                           ^
0_0_24728989_22134.cpp: In function 'void tarjan(int, int)':
0_0_24728989_22134.cpp:22:4: error: 'dfn' was not declared in this scope
    dfn[u] = low[u] = ++idx;
    ^
0_0_24728989_22134.cpp:22:13: error: 'low' was not declared in this scope
    dfn[u] = low[u] = ++idx;
             ^
0_0_24728989_22134.cpp:24:13: error: 'head' was not declared in this scope
 for(int i = head[u]; ~i; i = e[i].next) {
             ^
0_0_24728989_22134.cpp:27:33: error: 'min' was not declared in this scope
 low[u] = min(low[u],low[e[i].to]);
                                 ^
0_0_24728989_22134.cpp:27:33: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_24728989_22134.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3444:5: note:   'std::min'
     min(initializer_list<_Tp> __l, _Compare __comp)
     ^
0_0_24728989_22134.cpp:28:79: error: 'cut' was not declared in this scope
 if(fa != -1&& low[e[i].to] >= dfn[u] || fa == -1 && son > 1) {                cut[u] = true; cn++;         }
                                                                               ^
0_0_24728989_22134.cpp:29:40: error: 'min' was not declared in this scope
 } else low[u] = min(low[u],dfn[e[i].to]);
                                        ^
0_0_24728989_22134.cpp:29:40: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_24728989_22134.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3444:5: note:   'std::min'
     min(initializer_list<_Tp> __l, _Compare __comp)
     ^
0_0_24728989_22134.cpp: At global scope:
0_0_24728989_22134.cpp:32:10: error: 'maxn' was not declared in this scope
 bool vis[maxn];
          ^
0_0_24728989_22134.cpp:34:9: error: 'maxn' was not declared in this scope
 bool fk[maxn];
         ^
0_0_24728989_22134.cpp: In function 'void dfs(int, int)':
0_0_24728989_22134.cpp:36:1: error: 'vis' was not declared in this scope
 vis[u] = true;
 ^
0_0_24728989_22134.cpp:38:13: error: 'head' was not declared in this scope
 for(int i = head[u]; ~i; i = e[i].next) {
             ^
0_0_24728989_22134.cpp:40:4: error: 'cut' was not declared in this scope
 if(cut[e[i].to]) {
    ^
0_0_24728989_22134.cpp:41:5: error: 'fk' was not declared in this scope
 if(!fk[e[i].to]) { cao++;
     ^
0_0_24728989_22134.cpp: In function 'int main()':
0_0_24728989_22134.cpp:52:8: error: 'head' was not declared in this scope
 memset(head,-1,sizeof head);
        ^
0_0_24728989_22134.cpp:52:27: error: 'memset' was not declared in this scope
 memset(head,-1,sizeof head);
                           ^
0_0_24728989_22134.cpp:53:109: error: 'max' was not declared in this scope
 for(int i = tot = n = idx = cn = 0; i < m; ++i) { scanf("%d%d",&u,&v);           add(u,v); n = max(n,max(u,v));       }
                                                                                                             ^
0_0_24728989_22134.cpp:53:109: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_24728989_22134.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3454:5: note:   'std::max'
     max(initializer_list<_Tp> __l, _Compare __comp)
     ^
0_0_24728989_22134.cpp:53:110: error: 'max' was not declared in this scope
 for(int i = tot = n = idx = cn = 0; i < m; ++i) { scanf("%d%d",&u,&v);           add(u,v); n = max(n,max(u,v));       }
                                                                                                              ^
0_0_24728989_22134.cpp:53:110: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_24728989_22134.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3454:5: note:   'std::max'
     max(initializer_list<_Tp> __l, _Compare __comp)
     ^
0_0_24728989_22134.cpp:53:110: error: redeclaration of '<typeprefixerror>max'
 for(int i = tot = n = idx = cn = 0; i < m; ++i) { scanf("%d%d",&u,&v);           add(u,v); n = max(n,max(u,v));       }
                                                                                                              ^
0_0_24728989_22134.cpp:53:109: note: previous declaration '<typeprefixerror>max'
 for(int i = tot = n = idx = cn = 0; i < m; ++i) { scanf("%d%d",&u,&v);           add(u,v); n = max(n,max(u,v));       }
                                                                                                             ^
0_0_24728989_22134.cpp:54:8: error: 'dfn' was not declared in this scope
 memset(dfn,0,sizeof dfn);
        ^
0_0_24728989_22134.cpp:55:8: error: 'cut' was not declared in this scope
 memset(cut,false,sizeof cut);
        ^
0_0_24728989_22134.cpp:60:26: error: 'vis' was not declared in this scope
        else {     memset(vis,false,sizeof vis);
                          ^
0_0_24728989_22134.cpp:65:11: error: 'fk' was not declared in this scope
    memset(fk,false,sizeof fk);                
           ^
0_0_24728989_22134.cpp:74:6: error: 'Return0' was not declared in this scope
      Return0£»
      ^


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-12-02 07:34:08, Gzip enabled