Borderou de evaluare (job #2441652)
Utilizator | Data | 20 iulie 2019 19:19:08 | |
---|---|---|---|
Problema | Tubeyou | Status | done |
Runda | Algoritmiada 2019 Runda Maraton | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs_get_root(int)':
main.cpp:181:3: error: 'viz' was not declared in this scope
viz[nod] = comp;
^~~
main.cpp:182:19: error: 'begin' was not declared in this scope
for (auto vec : nod)
^~~
main.cpp:182:19: note: suggested alternatives:
In file included from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:95:0,
from main.cpp:1:
/usr/include/c++/6/valarray:1206:5: note: 'std::begin'
begin(const valarray<_Tp>& __va)
^~~~~
/usr/include/c++/6/valarray:1206:5: note: 'std::begin'
main.cpp:182:19: error: 'end' was not declared in this scope
for (auto vec : nod)
^~~
main.cpp:182:19: note: suggested alternatives:
In file included from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:95:0,
from main.cpp:1:
/usr/include/c++/6/valarray:1226:5: note: 'std::end'
end(const valarray<_Tp>& __va)
^~~
/usr/include/c++/6/valarray:1226:5: note: 'std::end'
main.cpp:183:9: error: 'vizz' was not declared in this scope
if (vizz[vec] == 0)
^~~~
main.cpp:184:15: error: 'dfs' was not declared in this scope
dfs (vec);
^
main.cpp: In function 'int main()':
main.cpp:206:11: error: 'viz' was not declared in this scope
if (viz[i] == 0 && gr[i].size () > 1) {
^~~
main.cpp:208:9: error: 'root' was not declared in this scope
root[comp] = i;
^~~~
main.cpp:209:9: error: 'muc' was not declared in this scope
muc[comp] = gr[i].back ();
^~~
main.cpp:191:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("tubeyou.in", "r", stdin);
^
main.cpp:192:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("tubeyou.out", "w", stdout);
^
main.cpp: In function 'char advance()':
main.cpp:25:35: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread (buffer, SIZE, 1, stdin);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !