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_19222836_23894.cpp:15:10: error: expected initializer before ')' token
 int limit){    if (id <= limit) return false;    for(int i = 0; i < jeo[id].size(); i++)        if (!tmp[jeo[id][i]])        {            tmp[jeo[id][i]] = 1;            if (match[jeo[id][i]] == -1 || find(match[jeo[id][i]], limit))            {                match[jeo[id][i]] = id;                return true;            }        }    return false;}bool solve(){    memset(match, -1, sizeof(int) * (n + 1));    for(int i = 1; i <= n; i++)    {        memset(tmp, 0, sizeof(bool) * (n + 1));        if (!find(i, 0)) return false;    }    return true;}bool check(int id, 
          ^


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 03:07:01, Gzip enabled