Borderou de evaluare (job #2074722)
Utilizator | Data | 24 noiembrie 2017 22:17:19 | |
---|---|---|---|
Problema | Caps | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:18: error: ‘long long int index’ redeclared as different kind of symbol
long long n,part,index,k,q;
^
In file included from user.cpp:4:0:
/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 solve()’:
user.cpp:52:10: error: overloaded function with no contextual type information
index=n%k;
^
user.cpp:53:15: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator==’
if(index==0)
^
user.cpp:55:19: error: overloaded function with no contextual type information
index=k;
^
user.cpp:60:19: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator-’
c=s[index-1];
^
user.cpp:62:24: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator-’
c=invers(index-1);
^
user.cpp:91:28: error: invalid types ‘int [100003][<unresolved overloaded function type>]’ for array subscript
ans+=a[c-'a'][index];
^
user.cpp:93:28: error: invalid types ‘int [100003][<unresolved overloaded function type>]’ for array subscript
ans+=A[c-'A'][index];
^
user.cpp:96:31: error: invalid types ‘int [100003][<unresolved overloaded function type>]’ for array subscript
ans+=invA[c-'a'][index];
^
user.cpp:98:31: error: invalid types ‘int [100003][<unresolved overloaded function type>]’ for array subscript
ans+=inva[c-'A'][index];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !