Borderou de evaluare (job #2569029)
Utilizator | Data | 4 martie 2020 10:51:26 | |
---|---|---|---|
Problema | Algoritmul Bellman-Ford | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:14:17: error: no matching function for call to 'std::basic_ifstream<char>::tie(bool)'
in.tie(false);
^
In file included from /usr/include/c++/6/ios:44:0,
from /usr/include/c++/6/istream:38,
from /usr/include/c++/6/fstream:38,
from main.cpp:1:
/usr/include/c++/6/bits/basic_ios.h:295:7: note: candidate: std::basic_ostream<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::tie() const [with _CharT = char; _Traits = std::char_traits<char>]
tie() const
^~~
/usr/include/c++/6/bits/basic_ios.h:295:7: note: candidate expects 0 arguments, 1 provided
/usr/include/c++/6/bits/basic_ios.h:307:7: note: candidate: std::basic_ostream<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::tie(std::basic_ostream<_CharT, _Traits>*) [with _CharT = char; _Traits = std::char_traits<char>]
tie(basic_ostream<_CharT, _Traits>* __tiestr)
^~~
/usr/include/c++/6/bits/basic_ios.h:307:7: note: no known conversion for argument 1 from 'bool' to 'std::basic_ostream<char>*'
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !