Borderou de evaluare (job #1138609)
Utilizator | Data | 10 martie 2014 12:28:26 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:17:41: error: ‘long int index’ redeclared as different kind of symbol
long n,m,i,x,y,nrc,ind[nmax],link[nmax],index;
^
In file included from user.cpp:4:0:
/usr/include/string.h:480:1: error: previous declaration of ‘const char* index(const char*, int)’
index (__const char *__s, int __c) __THROW
^
user.cpp: In function ‘void nod(long int)’:
user.cpp:33:12: error: cannot resolve overloaded function ‘index’ based on conversion to type ‘long int’
ind[nc]=index;
^
user.cpp:34:13: error: cannot resolve overloaded function ‘index’ based on conversion to type ‘long int’
link[nc]=index;
^
user.cpp:35:10: error: no post-increment operator for type
index++;
^
user.cpp: In function ‘void rezolvare()’:
user.cpp:67:10: error: overloaded function with no contextual type information
index=1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !