Borderou de evaluare (job #2307924)
Utilizator | Data | 25 decembrie 2018 21:26:58 | |
---|---|---|---|
Problema | Pluton | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:17:33: error: 'long long int index' redeclared as different kind of symbol
long long n, nr = 0, nrMax, index, cntMaxx = 0;
^~~~~
In file included from main.cpp:5:0:
/usr/include/string.h:477:1: note: previous declaration 'const char* index(const char*, int)'
index (const char *__s, int __c) __THROW
^~~~~
main.cpp: In function 'int main()':
main.cpp:56:21: error: overloaded function with no contextual type information
index = i;
^
main.cpp:42:9: warning: unused variable 'w' [-Wunused-variable]
int w[100], nr, ii = 0;
^
main.cpp:42:17: warning: unused variable 'nr' [-Wunused-variable]
int w[100], nr, ii = 0;
^~
main.cpp:42:21: warning: unused variable 'ii' [-Wunused-variable]
int w[100], nr, ii = 0;
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !