Borderou de evaluare (job #1647898)
Utilizator | Data | 10 martie 2016 22:41:09 | |
---|---|---|---|
Problema | Infasuratoare convexa | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:22:20: error: ‘int index’ redeclared as different kind of symbol
int n,m,x,y,nr,top,index;
^
In file included from /usr/include/c++/4.8/cstring:42:0,
from user.cpp:9:
/usr/include/string.h:482:1: error: previous declaration of ‘const char* index(const char*, int)’
index (__const char *__s, int __c) __THROW
^
user.cpp: In function ‘int main()’:
user.cpp:40:19: error: overloaded function with no contextual type information
index = i;
^
user.cpp:43:22: error: invalid types ‘pct [120005][<unresolved overloaded function type>]’ for array subscript
swap(v[1],v[index]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !