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_36051903_4993.cpp: In function 'int Stoer_Wagner()':
0_0_36051903_4993.cpp:37:3: error: expected ';' before 'int'
   int mincut, i, j, s = 1, t = n, ans;
   ^
0_0_36051903_4993.cpp:38:8: error: 'mincut' was not declared in this scope
   for (mincut = inf, i = 1; i < n; i++) {
        ^
0_0_36051903_4993.cpp:38:22: error: 'i' was not declared in this scope
   for (mincut = inf, i = 1; i < n; i++) {
                      ^
0_0_36051903_4993.cpp:39:5: error: 'ans' was not declared in this scope
     ans = contract(s, t);
     ^
0_0_36051903_4993.cpp:39:23: error: 't' was not declared in this scope
     ans = contract(s, t);
                       ^
0_0_36051903_4993.cpp:43:10: error: 'j' was not declared in this scope
     for (j = 1; j <= n; j++)
          ^
0_0_36051903_4993.cpp:46:10: error: 'mincut' was not declared in this scope
   return mincut;
          ^


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-26 00:53:02, Gzip enabled