Borderou de evaluare (job #2074721)
Utilizator | Data | 24 noiembrie 2017 22:13:21 | |
---|---|---|---|
Problema | Caps | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:13:16: error: ‘long long int index’ redeclared as different kind of symbol
long long part,index,n;
^
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:53:10: error: overloaded function with no contextual type information
index=n%k;
^
user.cpp:54:15: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator==’
if(index==0)
^
user.cpp:56:19: error: overloaded function with no contextual type information
index=k;
^
user.cpp:61:19: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator-’
c=s[index-1];
^
user.cpp:63:24: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator-’
c=invers(index-1);
^
user.cpp:92:28: error: invalid types ‘int [100003][<unresolved overloaded function type>]’ for array subscript
ans+=a[c-'a'][index];
^
user.cpp:94:28: error: invalid types ‘int [100003][<unresolved overloaded function type>]’ for array subscript
ans+=A[c-'A'][index];
^
user.cpp:97:31: error: invalid types ‘int [100003][<unresolved overloaded function type>]’ for array subscript
ans+=invA[c-'a'][index];
^
user.cpp:99: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 !