Borderou de evaluare (job #2474983)
Utilizator | Data | 15 octombrie 2019 23:51:07 | |
---|---|---|---|
Problema | Plimbare3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:1: error: 'ifstream' does not name a type
ifstream fin ("plimbare3.in");
^~~~~~~~
main.cpp:12:1: error: 'ofstream' does not name a type
ofstream fout ("plimbare3.out");
^~~~~~~~
main.cpp: In function 'void dfs(int, int, int, int)':
main.cpp:54:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g[x].size (); i++) {
~~^~~~~~~~~~~~~~
main.cpp:78:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g[x].size (); i++) {
~~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:110:2: error: 'fin' was not declared in this scope
fin >> n;
^~~
main.cpp:127:3: error: 'fout' was not declared in this scope
fout << ans[i] << endl;
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !