Borderou de evaluare (job #3189220)
Utilizator | Data | 4 ianuarie 2024 17:51:49 | |
---|---|---|---|
Problema | Paznici | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In constructor 'flux::flux(int, int, std::vector<std::vector<int> >&, std::vector<std::vector<int> >&, std::vector<std::vector<int> >&)':
main.cpp:19:43: warning: 'flux::fl' will be initialized after [-Wreorder]
19 | std::vector<std::vector<int>> cap,adi,fl;
| ^~
main.cpp:18:23: warning: 'std::vector<bool> flux::viz' [-Wreorder]
18 | std::vector<bool> viz;
| ^~~
main.cpp:51:5: warning: when initialized here [-Wreorder]
51 | flux(int ni,int mi,
| ^~~~
main.cpp: In function 'int main()':
main.cpp:111:9: error: 'string' was not declared in this scope
111 | string x;
| ^~~~~~
main.cpp:111:9: note: suggested alternatives:
In file included from /usr/include/c++/12.2.1/string:39,
from main.cpp:5:
/usr/include/c++/12.2.1/bits/stringfwd.h:77:33: note: 'std::string'
77 | typedef basic_string<char> string;
| ^~~~~~
/usr/include/c++/12.2.1/string:65:11: note: 'std::pmr::string'
65 | using string = basic_string<char>;
| ^~~~~~
main.cpp:112:14: error: 'x' was not declared in this scope
112 | cin>>x;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !