Borderou de evaluare (job #2515326)
Utilizator | Data | 28 decembrie 2019 13:12:11 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:7: error: 'int index' redeclared as different kind of symbol
int n,index = 1,rasp;
^~~~~
In file included from /usr/include/c++/6/cstring:42:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:48,
from main.cpp:1:
/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 'void calculeaza_ctc(int)':
main.cpp:44:17: error: cannot resolve overloaded function 'index' based on conversion to type 'int'
v[nod].index = index;
^~~~~
main.cpp:45:15: error: cannot resolve overloaded function 'index' based on conversion to type 'int'
v[nod].low = index;
^~~~~
main.cpp:46:7: error: no post-increment operator for type
index++;
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !