Borderou de evaluare (job #2539961)
Utilizator | Data | 6 februarie 2020 16:16:04 | |
---|---|---|---|
Problema | Consiliul tribului | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int read()':
main.cpp:35:34: error: 'isdigit' was not declared in this scope
while (!isdigit(ch = nextch()));
^
main.cpp:39:33: error: 'isdigit' was not declared in this scope
while (isdigit(ch = nextch())) x = 10 * x + ch - '0';
^
main.cpp: At global scope:
main.cpp:51:6: error: 'vector' in namespace 'std' does not name a template type
std::vector < int > g[MAXN + 1];
^~~~~~
main.cpp: In function 'void calc(int)':
main.cpp:69:20: error: 'g' was not declared in this scope
for (auto &y : g[x])
^
main.cpp: In function 'void vezi(int)':
main.cpp:95:20: error: 'g' was not declared in this scope
for (auto &y : g[x])
^
main.cpp: In function 'void dfs1(int)':
main.cpp:151:20: error: 'g' was not declared in this scope
for (auto &y : g[x]) {
^
main.cpp: In function 'void dfs2(int)':
main.cpp:177:20: error: 'g' was not declared in this scope
for (auto &y : g[x]) {
^
main.cpp: In function 'int main()':
main.cpp:207:9: error: 'g' was not declared in this scope
g[x].push_back(y);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !