Borderou de evaluare (job #1765418)

Utilizator c0mradec0mrade c0mrade Data 26 septembrie 2016 18:34:39
Problema Biscuiti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:19: error: ‘long long int index’ redeclared as different kind of symbol long long n,i,ans,index,lazy[400100]; ^ 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:42:15: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator<=’ if(index<=mid) ^ user.cpp: In function ‘int main()’: user.cpp:62:14: error: overloaded function with no contextual type information index=A[1].ind; ^

Ceva nu functioneaza?