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_19225586_25529.cpp:15:26: error: expected constructor, destructor, or type conversion before '(' token
 int i, ret = 0;    memset(cx, 0, sizeof (cx));    memset(cy, 0, sizeof (cy));    for (i = 1; i <= nx; i++)if (!cx[i]) {            memset(sy, 0, sizeof (sy));            ret += path(i);        }    return ret;}char c[2010];int s[2010][2010], w, h, n, m;int sum(int x0, 
                          ^
0_0_19225586_25529.cpp:15:57: error: expected constructor, destructor, or type conversion before '(' token
 int i, ret = 0;    memset(cx, 0, sizeof (cx));    memset(cy, 0, sizeof (cy));    for (i = 1; i <= nx; i++)if (!cx[i]) {            memset(sy, 0, sizeof (sy));            ret += path(i);        }    return ret;}char c[2010];int s[2010][2010], w, h, n, m;int sum(int x0, 
                                                         ^
0_0_19225586_25529.cpp:15:82: error: expected unqualified-id before 'for'
 int i, ret = 0;    memset(cx, 0, sizeof (cx));    memset(cy, 0, sizeof (cy));    for (i = 1; i <= nx; i++)if (!cx[i]) {            memset(sy, 0, sizeof (sy));            ret += path(i);        }    return ret;}char c[2010];int s[2010][2010], w, h, n, m;int sum(int x0, 
                                                                                  ^
0_0_19225586_25529.cpp:15:94: error: 'i' does not name a type
 int i, ret = 0;    memset(cx, 0, sizeof (cx));    memset(cy, 0, sizeof (cy));    for (i = 1; i <= nx; i++)if (!cx[i]) {            memset(sy, 0, sizeof (sy));            ret += path(i);        }    return ret;}char c[2010];int s[2010][2010], w, h, n, m;int sum(int x0, 
                                                                                              ^
0_0_19225586_25529.cpp:15:103: error: 'i' does not name a type
 int i, ret = 0;    memset(cx, 0, sizeof (cx));    memset(cy, 0, sizeof (cy));    for (i = 1; i <= nx; i++)if (!cx[i]) {            memset(sy, 0, sizeof (sy));            ret += path(i);        }    return ret;}char c[2010];int s[2010][2010], w, h, n, m;int sum(int x0, 
                                                                                                       ^
0_0_19225586_25529.cpp:15:199: error: expected unqualified-id before 'return'
 int i, ret = 0;    memset(cx, 0, sizeof (cx));    memset(cy, 0, sizeof (cy));    for (i = 1; i <= nx; i++)if (!cx[i]) {            memset(sy, 0, sizeof (sy));            ret += path(i);        }    return ret;}char c[2010];int s[2010][2010], w, h, n, m;int sum(int x0, 
                                                                                                                                                                                                       ^
0_0_19225586_25529.cpp:15:210: error: expected declaration before '}' token
 int i, ret = 0;    memset(cx, 0, sizeof (cx));    memset(cy, 0, sizeof (cy));    for (i = 1; i <= nx; i++)if (!cx[i]) {            memset(sy, 0, sizeof (sy));            ret += path(i);        }    return ret;}char c[2010];int s[2010][2010], w, h, n, m;int sum(int x0, 
                                                                                                                                                                                                                  ^


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-06-26 16:41:13, Gzip enabled