Borderou de evaluare (job #3302821)

Utilizator iulia_morariuIuli Morariu iulia_morariu Data 11 iulie 2025 13:10:48
Problema Ciclu Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:18:1: error: 'ifsteram' does not name a type 18 | ifsteram fin("ciclu.in"); | ^~~~~~~~ main.cpp:19:1: error: 'ofsteram' does not name a type 19 | ofsteram fout("ciclu.out"); | ^~~~~~~~ main.cpp: In function 'bool clopotbarbat_ford(db)': main.cpp:33:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 33 | for(int i = 0; i < g.size(); i++) g[i].c -= C; | ~~^~~~~~~~~~ main.cpp:38:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | for(int i = 0; i < g.size(); i++){ | ~~^~~~~~~~~~ main.cpp:49:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | for(int i = 0; i < g.size(); i++) g[i].c += C; | ~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:11:13: error: 'fin' was not declared in this scope; did you mean 'sin'? 11 | #define in fin | ^~~ main.cpp:55:5: note: in expansion of macro 'in' 55 | in.tie(NULL); | ^~ main.cpp:12:13: error: 'fout' was not declared in this scope; did you mean 'out'? 12 | #define out fout | ^~~~ main.cpp:72:5: note: in expansion of macro 'out' 72 | out << fixed << setprecision(2) << sol << '\n'; | ^~~ Non zero exit status: 1

Ceva nu functioneaza?