Borderou de evaluare (job #3308466)

Utilizator iulia_morariuIuli Morariu iulia_morariu Data 25 august 2025 12:43:16
Problema Autobuze3 Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void dfs_print(int, int)': main.cpp:10:13: error: 'fout' was not declared in this scope; did you mean 'out'? 10 | #define out fout | ^~~~ main.cpp:74:9: note: in expansion of macro 'out' 74 | out << "Drive " << bus[x] << " " << x << " " << nod << '\n'; | ^~~ main.cpp:75:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 75 | if(ppl[x].size() > maxi){ | ~~~~~~~~~~~~~~^~~~~~ main.cpp:10:13: error: 'fout' was not declared in this scope; did you mean 'out'? 10 | #define out fout | ^~~~ main.cpp:84:5: note: in expansion of macro 'out' 84 | out << "Move " << nod << " " << nod << " " << bus[xmax] << '\n'; | ^~~ main.cpp: In function 'void solve()': main.cpp:9:13: error: 'fin' was not declared in this scope; did you mean 'sin'? 9 | #define in fin | ^~~ main.cpp:97:15: note: in expansion of macro 'in' 97 | int n, m; in >> n >> m; | ^~ main.cpp:10:13: error: 'fout' was not declared in this scope; did you mean 'out'? 10 | #define out fout | ^~~~ main.cpp:106:5: note: in expansion of macro 'out' 106 | out << cost << '\n'; | ^~~ main.cpp: In function 'int main()': main.cpp:9:13: error: 'fin' was not declared in this scope; did you mean 'sin'? 9 | #define in fin | ^~~ main.cpp:113:5: note: in expansion of macro 'in' 113 | in.tie(NULL); | ^~ Non zero exit status: 1

Ceva nu functioneaza?