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_31129639_2645.cpp: In function 'void topo()':
0_0_31129639_2645.cpp:46:24: error: 'N' was not declared in this scope
  for ( int i = 1; i <= N; i++ ) {
                        ^
0_0_31129639_2645.cpp:52:7: error: 'cnt' was not declared in this scope
   ans[cnt++] = u;
       ^
0_0_31129639_2645.cpp:53:25: error: 'N' was not declared in this scope
   for ( int v = 1; v <= N; v++ ) {
                         ^
0_0_31129639_2645.cpp:54:9: error: 'graph' was not declared in this scope
    if ( graph[u][v] ) {
         ^
0_0_31129639_2645.cpp:60:23: error: 'cnt' was not declared in this scope
  for ( int i = 0; i < cnt; i++ ) {
                       ^


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 21:59:05, Gzip enabled