i forget to say i've got AC finally
reason: input method
Search found 2 matches
- Thu Jul 01, 2004 5:13 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10102 - The path in the colored field
- Replies: 34
- Views: 17217
- Thu Jul 01, 2004 8:25 am
- Forum: Volume 101 (10100-10199)
- Topic: 10102 - The path in the colored field
- Replies: 34
- Views: 17217
10102 WA
I've been seeking for the reason of that WA for hours.
[cpp]#define MAX 100
struct coord
{
int x;
int y;
};
int cercaMax(vector<int>& a)
{
int aux = a[0];
for(int i = 1; i < a.size(); i++)
if(aux < a )
aux = a ;
return aux;
}
int cercaMin(vector<int>& a)
{
int aux = a[0];
for(int i = 1 ...
[cpp]#define MAX 100
struct coord
{
int x;
int y;
};
int cercaMax(vector<int>& a)
{
int aux = a[0];
for(int i = 1; i < a.size(); i++)
if(aux < a )
aux = a ;
return aux;
}
int cercaMin(vector<int>& a)
{
int aux = a[0];
for(int i = 1 ...