Borderou de evaluare (job #1824235)
Utilizator | Data | 7 decembrie 2016 16:35:34 | |
---|---|---|---|
Problema | Arbori de intervale | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:28: error: ‘int index’ redeclared as different kind of symbol
int n,m,arb[200005],mx,val,index,start, finish,var,a,b;
^
In file included from /usr/include/c++/4.8/cstring:42:0,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:48,
from user.cpp:1:
/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 ‘void update(int, int, int)’:
user.cpp:25:15: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator<=’
if(index<=mij)update(nod*2,left,mij);
^
user.cpp: In function ‘int main()’:
user.cpp:35:14: error: overloaded function with no contextual type information
index=i;
^
user.cpp:49:18: error: overloaded function with no contextual type information
index=a,val=b;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !