Borderou de evaluare (job #1171659)
Utilizator | Data | 16 aprilie 2014 00:46:59 | |
---|---|---|---|
Problema | Scara 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:15:5: error: ‘int index’ redeclared as different kind of symbol
int index = 0;
^
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 pcs(int)’:
user.cpp:28:27: error: invalid types ‘int [128][8][<unresolved overloaded function type>]’ for array subscript
comb_sol[index][i] = comb[i];
^
user.cpp:30:15: error: no post-increment operator for type
index ++;
^
user.cpp: In function ‘float efort_minim()’:
user.cpp:76:20: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator<’
for(int i=1; i<index;i++) {
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !