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_30154868_27710.cpp:2:2: error: expected unqualified-id before 'while'
  while( ! q.empty()) {   v = q.front();   q.pop_front();   for( i = 1;i <= m;i ++) {        if( G[v][i] > 0 && Visited[i] == 0) {    //必须是依然有容量的边,才可以走     Prev[i] = v;     Visited[i] = 1;      if( i == m ) {      bFindPath = true;      q.clear();      break;     }     else       q.push_back(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-11-16 13:46:04, Gzip enabled